Is it possible to open a blank MS Word document whenever I open a specific Excel file ?
Is it possible to open a blank MS Word document whenever I open a specific Excel file ?
Use the Workbook_Open macro to call the following NewWordDocument subroutine:
(in a standard module)Please Login or Register to view this content.
Please Login or Register to view this content.
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
Or you might reduce that to
Please Login or Register to view this content.
Don
Please remember to mark your thread 'Solved' when appropriate.
@xlnitwit: very concise and effective. Shows how often I open a Word Document from Excel.
How would you go about assigning that document to a variable so that you could refer to it later in your code?
I'd use
Thanks for the rep, by the way!Please Login or Register to view this content.
My pleasureThanks for the rep, by the way!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks