If I close the Visual Basic Editor and then the word file, and then open the word file The code is not run. ![]() ![]() The code only runs if the Visual Basic Editor is open BEFORE I close the word file and try to open it again. doc document with the following code: Private Sub Document_Open() doc file format, is Document_Close() - this works everytime.ĮDIT 3: This is just getting weirder. So weird! The only event I get working, and this is only when using the. The VBA level in Mac Word is markedly less capable than in PC Word: around the level of Word 2003 but with missing bits. doc since its not a new templatefile based on a document.ĮDIT 2: Seems like it was a once only with the Document_open on. The Advanced Typography settings you can apply in Mac Word will display in Windows Word, but theres no Advanced Typography interface in Word for Windows, so you have to use Mac Word for this feature. doc, then the Document_open() worked just fine, so it seems to not be working in the. Locate the Zotero items in the box on the right and select one to assign a keyboard shortcut. Select the Macros category in the box on the left. It doesn't seem to run this code on the Mac version.ĭoes anyone know why this won't work on the Mac, or if there's another way around to emulate the document_open/document_new function?ĮDIT: The document is in the. Click the Customize button at the bottom of the window next to Keyboard Shortcuts. The thing which seems to not work properly is the following code: Sub Document_New() ![]() As the title says, I've got a word template with macros that does not run properly in the new Word version from Office 2011 for MAC.
0 Comments
Leave a Reply. |