![]() |
#1
|
|||
|
|||
![]()
Hi all,
I am working on creating a report template which can be applied to a number of different "sites". I would like to run a Macro on template start which prompts the user to enter the site name. the macro would look like this: Private Sub Workbook_Open() InputBox ("Enter site name") End Sub I would like to write this site name into a field which I can place throughout the body of the document (sort of like a cell or name reference in excel). Can anyone help me with the additional code required and the creation of a custom field from this code? Alternatively, if there's an easier way to do this I'd love to hear it. Many thanks! ![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Creating document from template but macros are still linked to template | webharvest | Word | 0 | 07-16-2011 09:34 AM |
Creating a custom transition speed? | watsonstudios | PowerPoint | 0 | 05-20-2011 08:17 PM |
Add custom field to print style | steino | Outlook | 0 | 03-31-2011 12:03 PM |
Creating A Input Or Output Field | skoz55 | Excel | 0 | 08-15-2009 04:40 PM |
Custom Fields : Creating New Field Types. | KarthikR | Word | 0 | 12-04-2005 12:47 PM |