Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-03-2016, 06:15 AM
highrise955 highrise955 is offline Newbie Question - Need direction on how to proceed Windows 10 Newbie Question - Need direction on how to proceed Office 2013
Advanced Beginner
Newbie Question - Need direction on how to proceed
 
Join Date: Mar 2016
Posts: 37
highrise955 is on a distinguished road
Default



Quote:
Originally Posted by gmaxey View Post
Code:
Sub Document_Open()
Dim oCC As ContentControl
  Set oCC = ActiveDocument.SelectContentControlsByTitle("Name").Item(1)
  oCC.Type = wdContentControlText
  oCC.Range.Text = Application.UserName
  oCC.Type = wdContentControlDropdownList
  Document_ContentControlOnExit oCC, False
lbl_Exit:
  Exit Sub
End Sub

Thanks Greg!

Should this code (along with the other code I showed in the 2nd message of this thread) also update my "Title" control. I'm assuming it should because of the Document_ContentControlOnExit statement. Is this correct?

Also, one last thing (hopefully). Once I have the template the way I want it. What do I need to do to get it to work on our companies server? Besides copying the template to an accessible drive, are there any other parts (xml,docm...) that I need to move over with the template?


Again, thanks again. I really appreciate your assistance.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie question on Word 2010 sunalta Word 7 09-06-2012 12:49 PM
Newbie Question - Need direction on how to proceed Newbie Question thistlebarrow PowerPoint 4 04-06-2012 01:46 PM
Newbie Question - Need direction on how to proceed newbie question DanSandbergUCONN Word 5 03-06-2011 04:27 PM
Newbie Question - Need direction on how to proceed Newbie to Powerpoint question Phil66 PowerPoint 9 06-01-2010 10:51 AM
Perhaps a newbie question I know but as1947 Excel 0 02-05-2009 08:01 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:22 AM.


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