Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 10-13-2022, 04:15 PM
data808 data808 is offline Protected Word Document Open Cursor Location Windows 10 Protected Word Document Open Cursor Location Office 2019
Novice
Protected Word Document Open Cursor Location
 
Join Date: Oct 2022
Posts: 16
data808 is on a distinguished road
Default Question

Thanks. Not sure what formfields are but I think all the controls I have in my document were selected from what shows on the ribbon at the top of the window and those items all seem to say content controls when I hover my mouse cursor over them. I read that legacy controls were inside the toolbox icon and I haven't used any of those. So pretty sure all of the text boxes and date pickers are from the content control section.

Would you be able to give me the VBA to select the date picker content control? I tried this on the open event of the document and it doesn't seem to work. Btw, I named the date picker title and tag "test":

ActiveDocument.SelectContentControlByTag (test)

Also tried:

ActiveDocument.SelectContentControlByTitle (test)

Not sure what I am doing wrong.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Protected Word Document Open Cursor Location How to control INPUT CURSOR location when clicking in Word after being in another app? Retko Word 1 04-11-2019 09:34 PM
Protected Word Document Open Cursor Location Cursor location on first click -- insertion point stevec5088 Word 1 12-14-2016 02:45 PM
Protected Word Document Open Cursor Location Hightlight cells based on cursor location megads Excel Programming 2 07-31-2014 06:10 PM
Protected Word Document Open Cursor Location 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

Other Forums: Access Forums

All times are GMT -7. The time now is 06:46 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft