![]() |
|
#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.
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Retko | Word | 1 | 04-11-2019 09:34 PM |
![]() |
stevec5088 | Word | 1 | 12-14-2016 02:45 PM |
![]() |
megads | Excel Programming | 2 | 07-31-2014 06:10 PM |
![]() |
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 |