![]() |
|
|
|
#1
|
||||
|
||||
|
As Paul has shown, the macro can be a single line of code. I included the extra lines to try to avoid possible errors should the object not exist or perhaps not be selectable.
Coding in Excel can also be written in few lines if you are happy to deal with errors when something unforeseen causes a problem.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
#2
|
|||
|
|||
|
Thanks for the help people. You guys have taught me a lot and thanks for showing me different ways to approach my issue with the document.
|
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
How to control INPUT CURSOR location when clicking in Word after being in another app?
|
Retko | Word | 1 | 04-11-2019 09:34 PM |
Cursor location on first click -- insertion point
|
stevec5088 | Word | 1 | 12-14-2016 02:45 PM |
Hightlight cells based on cursor location
|
megads | Excel Programming | 2 | 07-31-2014 06:10 PM |
Open document file location issue help required
|
jborchel | Word | 8 | 10-21-2013 02:58 PM |
| How to open a password-protected word document? | navalava | Word | 1 | 07-01-2012 12:15 PM |