Error 4198 in the world's simplest macro


i'm trying write (or record) macro in word (office 2011 mac). macro opens template i've made has letterhead on it. 

the code have is:

sub stationery()
'
     documents.add template:="/users/dan/library/application support/microsoft/office/user templates/markovitzconsultingstationery.dotx"

end sub

when run macro, error saying "run-time error 4198"

can help? surely can't difficult!

many thanks,

dan

hi,

the macro runs successfully in word 2013 environment. please try copy .dotx template location, , change path in macro different path. run macro again check result.

in addition, since forum general questions , feedback related word windows, it's better post question forum mac:

http://answers.microsoft.com/en-us/mac/forum/macword?tab=threads

the reason why recommend posting appropriately qualified pool of respondents, , other partners read forums regularly can either share knowledge or learn interaction us. thank understanding.

steve fan
technet community support



Microsoft Office  >  Word IT Pro Discussions



Comments

Popular posts from this blog

server manager error: ADAM.events.xml could not be enumerated.

Cannot access Anywhere Access using domain name?

WMI Failure: Unable to update Local Resource Group