Hey everybody,
Here is my next problem:
-My WORD doc contains a list of titles.
-When adding a new title, the user presses the 'Add new title' button
-A macro configures several parts of the file etc......
-now the user needs to decide where to put the title.
- what I would like is a message box to appear and say something like 'move cursor to desired position, then click OK to add title'. My poblem is when the MsgBox pops-up I can't do anything to the document until I close the MsgBox.
My Question is:
Can I have a MsgBox pop-up, remain on top, allow the user to move the cursor within the document, then when the user clicks OK for the macro to continue?
If this is not possible, can I use an onkeypressed type of function, such that when Ctrl+g, for example, is pressed the title will be added (the script continues).
My code is on the 'Add title' button.
Any other suggestion would be appreciated........
Thanks
Here is my next problem:
-My WORD doc contains a list of titles.
-When adding a new title, the user presses the 'Add new title' button
-A macro configures several parts of the file etc......
-now the user needs to decide where to put the title.
- what I would like is a message box to appear and say something like 'move cursor to desired position, then click OK to add title'. My poblem is when the MsgBox pops-up I can't do anything to the document until I close the MsgBox.
My Question is:
Can I have a MsgBox pop-up, remain on top, allow the user to move the cursor within the document, then when the user clicks OK for the macro to continue?
If this is not possible, can I use an onkeypressed type of function, such that when Ctrl+g, for example, is pressed the title will be added (the script continues).
My code is on the 'Add title' button.
Any other suggestion would be appreciated........
Thanks