Showing results in 'Blog'. Show all posts

The Macro that Wouldn't


Today, I was trying to run a simple macro, which inserts a footnote/endnote into a Word document. Each time I tried this macro a VBA 4605:v error was the result. The VBA editor would open and display the error's code. I am not a programmer, by trade, only amateur. The error hinged around an end of document location that MS Word could not find.

This is the macro's code, which was generated by "recording" the individual steps.

Tip: Open MS Word without creating a new document

Create a shortcut for Word on the desktop and modify the target to be the following...

"C:\Program Files (x86)\Microsoft Office\Office14\WINWORD.EXE" /n

Important to note, the /n has to be outside of the double-quotes or the shortcut will not work. 

That's it. Every time Word opens a new document will not follow.