G
graincar
Just doing a macro for a simple data export as text file from
Project. Have tried this on 98 and 2000 and get the same error.
The code goes like this:
OptionsView DateFormat:=pjDate_mm_dd_yy
'above give me simple date format
'then export as text file through a previously defined mapping
OptionsView DateFormat:=pjDateDefault
`above trying to set date format back to whatever it was
The error I get is "Run-time error '1101': The argument is not valid
if I change the last statement to:
OptionsView DateFormat:=0
the macro runs fine and does what I expect.
But why won't it accept the pjDateDefault constant? Any insights
would be appreciated. Thanks
Project. Have tried this on 98 and 2000 and get the same error.
The code goes like this:
OptionsView DateFormat:=pjDate_mm_dd_yy
'above give me simple date format
'then export as text file through a previously defined mapping
OptionsView DateFormat:=pjDateDefault
`above trying to set date format back to whatever it was
The error I get is "Run-time error '1101': The argument is not valid
if I change the last statement to:
OptionsView DateFormat:=0
the macro runs fine and does what I expect.
But why won't it accept the pjDateDefault constant? Any insights
would be appreciated. Thanks