Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / December 2004

Tip: Looking for answers? Try searching our database.

Why doesn't my macro perform the action I recorded?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jsteele - 17 Dec 2004 17:23 GMT
I recorded a macro while I performed a global replace, replacing all Arial
type with another typeface. The replacement worked fine, but when I try to
repeat it using the macro it created, nothing happens. Looking at the macro,
I can see that it did not record the typ names. However, when I perform
exactly the same action for other typefaces, it works fine.
Helmut Weber - 17 Dec 2004 20:56 GMT
Hi,
do you mean, concerning typefaces that are not arial,
the recorder recorded the name of the font?

Never seen this.

Example for searching and replacing fonts:

  With Selection.Find
     .Text = ""
     .Font.Name = "Trebuchet MS"
     .Replacement.Text = ""
     .Replacement.Font.Name = "Arial Black"
...

Greetings from Bavaria, Germany
Helmut Weber, MVP
"red.sys" & chr(64) & "t-online.de"
Word XP, Win 98
http://word.mvps.org/
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.