Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all
i need to have a global 'path' that all of my functions and subs have access to, so that if i want to change the path, i need to change it only in one place i have const docPath="C:\Temp\" defined in ThisWorkbook, but when i open the workbook and run any of my functions trying to reference docPath, it is empty is defining it as a const in ThisWorkbook not setting it public? or do i need to do public docPath Private Sub Workbook_Open() docPath = "C:\Temp\" End Sub ? doesn't that allow the path to be changed from other functions? any suggestions greatly appreciated! thanks! J |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
hyperlink navigation path path wrong in Excel 2003 | Excel Discussion (Misc queries) | |||
which declaration to use | Excel Programming | |||
Global variable declaration! | Excel Programming | |||
Declaration? | Excel Programming | |||
How to set global constants and get path of spreadsh ? | Excel Programming |