I've experienced a new problem when doing macros which require the font to be changed (i.e., changing the font in a document say from Futura to Arial). Never experienced this probem before.
After I create the macro and go to play it I get a "Run-time error '5844': One of the values passed to this method or property is incorrect."
When i ask it to debug it, it always highlights a line which begins with .NameFarEast..." (like below). Can anyone tell me how to correct this annoying problem?
Selection.EndKey Unit:=wdLine, Extend:=wdExtend
With Selection.Font
.NameFarEast = "Times New Roman" Macro disappears after restart : word, disappear, macro:: Jan 22, 2007 I think I have a bigger problem now. It wiped out all my macros. . . NameFarEast = "" End With With ActiveDocument.PageSetup http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Word/Q_22127229.htmlHOME |
.NameAscii = "Arial"
.NameOther = "Arial"
.Name = "Futura Bk BT"
.Size = 14
.Bold = False
.Italic = False
Try removing the line times new roman is the default for fareast or try
.NameFarEast = ""
Where's The Advantage In Windows Genuine Advantage?
Stocks Bounce After S&P Joins Bear Market
|