I need to use VBA to get some simple properties from the currently open MS Word 2000 document, and then export the values to an Excel Spreadsheet Template.
I want to be able to do this using a Hotkey.
In more specific terms:
I want to press Ctrl + W.
When this occurs, I want VBA to grab the following properties:
1. Number of Lines in the document.
2. Number of Characters (without spaces) in the document.
3. Number of Words in the document.
*Note: these are all available under the File >> Properties menu item under the tab called "Statistics"
Then these properties should be exported out into empty, predetermined cells in an Excel Template.
Can this be done with a simple Macro, or is VBA required. If so, no problem. And if so, anyone got any ideas?
I want to be able to do this using a Hotkey.
In more specific terms:
I want to press Ctrl + W.
When this occurs, I want VBA to grab the following properties:
1. Number of Lines in the document.
2. Number of Characters (without spaces) in the document.
3. Number of Words in the document.
*Note: these are all available under the File >> Properties menu item under the tab called "Statistics"
Then these properties should be exported out into empty, predetermined cells in an Excel Template.
Can this be done with a simple Macro, or is VBA required. If so, no problem. And if so, anyone got any ideas?