Edit: Cross-posted at http://www.mrexcel.com/forum/showthread.php?t=422923
Hi All,
I should disclaim that I'm quite novice at that, so my approach to writing macros is to record individual steps to determine the appropriate method, then copy and paste.
In any event, I have a macro that creates a word doc from content in an excel file. I copied over the code for inserting a text field from the Word Macro Recorder:
And pasted it (with msWord):Please Login or Register to view this content.
When I attempt to run this I get a "wrong number of arguments or invalid property assignment" error at the line that attempts to add the text field. Is this because of a discrepancy in syntax between Word and Excel, or am I making some other mistake?Please Login or Register to view this content.
Any help you can provide would be great. Thanks!
Bookmarks