![]() |
|
#1
|
|||
|
|||
![]()
Thank you so much. I can't believe you need to add Dim statements just for something so simple. I worked with excel spreadsheets and usually its a lot more simple when it comes to selecting a cell.
In most cases yes, No Change (Read Only) wouldn't have a point to selecting anything but I had to go this route because of how the checkboxes work with tabbing. I am using the content control checkboxes and they do not work well when your document is locked and you want to tab through all the fillable areas of the document. So I selected No Change and made exceptions instead but then of course the document opens in read-only mode and has the cursor at the top left which makes sense but not for my situation. Thank you so much for the help. Really appreciate it. |
#2
|
||||
|
||||
![]() Quote:
Code:
Private Sub Document_Open() ActiveDocument.SelectContentControlsByTitle("MyDate")(1).Range.Select End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]()
This seems to be what I was looking for but @Guessed had a good point of trying to prevent unforeseen errors from occurring. Thank you for the help.
|
![]() |
|
![]() |
||||
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 |