Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 10-21-2011, 03:45 AM
PetLahev PetLahev is offline oshp.TextFrame.TextRange.Font <The specified error is out of range> Windows XP oshp.TextFrame.TextRange.Font <The specified error is out of range> Office 2007
Novice
 
Join Date: Oct 2011
Posts: 7
PetLahev is on a distinguished road
Default

Try this one

ONLY SAMPLE
Code:
If shp.HasTextFrame Then
   If shp.TextFrame.HasText Then
       With shp.TextFrame.TextRange.Font
              .Size = 24
              .Name = "Times New Roman"
       End With
   End If
End If
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't delete range - error 5904 expatriate Word VBA 1 06-03-2011 12:12 AM
Runtime error 5487 - Word cannot complete the save to to file permission error franferns Word 0 11-25-2009 05:35 AM
Receive error cannot open this form because an error occurred in BCM 2007 bornhusker Outlook 0 06-01-2009 10:28 AM
oshp.TextFrame.TextRange.Font <The specified error is out of range> Subscript out of range error KHTAY Excel 6 03-28-2009 11:18 PM
oshp.TextFrame.TextRange.Font <The specified error is out of range> Mysterious "Subscript out of range" error rnstewart Excel 4 12-29-2005 01:04 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:19 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft