R
Robert_L_Ross
Can you establish variables and have them accessible to all macros within a
document - if you set them up in a .dot file?
I'd like to have one location to store the following variables:
Dim DataSourceFile As String
Dim DocumentTemplateFile As String
Dim CompletedFormsPath As String
DataSourceFile = "G:\GS-220\SLATE\CORRECTION_SHEETS\SCHOOL_LIST.xls"
DocumentTemplateFile = "G:\GS-220\SLATE\CORRECTION_SHEETS\Correction
Sheet.dot"
CompletedFormsPath = "G:\GS-220\SLATE\CORRECTION_SHEETS\CompletedForms\"
I'd like to have them accessible to the entire module, userforms, etc. This
way, if we move the documents around in the network (or copy them for that
matter) we only have to change the paths in one area (and I can even set up a
userform or macro to adjust them as needed).
Is this possible?
document - if you set them up in a .dot file?
I'd like to have one location to store the following variables:
Dim DataSourceFile As String
Dim DocumentTemplateFile As String
Dim CompletedFormsPath As String
DataSourceFile = "G:\GS-220\SLATE\CORRECTION_SHEETS\SCHOOL_LIST.xls"
DocumentTemplateFile = "G:\GS-220\SLATE\CORRECTION_SHEETS\Correction
Sheet.dot"
CompletedFormsPath = "G:\GS-220\SLATE\CORRECTION_SHEETS\CompletedForms\"
I'd like to have them accessible to the entire module, userforms, etc. This
way, if we move the documents around in the network (or copy them for that
matter) we only have to change the paths in one area (and I can even set up a
userform or macro to adjust them as needed).
Is this possible?