B
Bobby
Hi,
I would like to know how/where to write global variable path depending
on the environment
so I don't have to comment or uncomment path!
In the General Declarations I wrote:
If ThisWorkbook.path = "K:\Indic_Entr\DEV" Then
Public Const pathgra As String = "K:\Indic_Entr\DEV"
else
if Public Const pathgra As String = "K:\Indic_Entr\TEST" Then
Public Const pathgra As String = "K:\Indic_Entr\TEST"
End If
End If
THIS does not WORK! Any suggestions?
Thank's ahead.
I would like to know how/where to write global variable path depending
on the environment
so I don't have to comment or uncomment path!
In the General Declarations I wrote:
If ThisWorkbook.path = "K:\Indic_Entr\DEV" Then
Public Const pathgra As String = "K:\Indic_Entr\DEV"
else
if Public Const pathgra As String = "K:\Indic_Entr\TEST" Then
Public Const pathgra As String = "K:\Indic_Entr\TEST"
End If
End If
THIS does not WORK! Any suggestions?
Thank's ahead.