Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 03-03-2016, 05:27 AM
gmaxey gmaxey is offline Newbie Question - Need direction on how to proceed Windows 7 32bit Newbie Question - Need direction on how to proceed Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,617
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

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
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
 



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 04:47 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