Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Can I use Environment variables (such as %USERPROFILE%) in Excel .
no, but you can access the value of the variable and build the string
yourself. sStr = Environ("Userprofile") for example: ? environ("Userprofile") C:\Documents and Settings\ogilvtw so you could use something like sStr1 = Environ("Userprofile") & "\abcd" -- Regards, Tom Ogilvy "CJH" wrote in message ... gIs it possible to store environment variables as part of the path to Linked Workbooks and allow excel to substitute them when evaluating the links? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel General Environment | Excel Discussion (Misc queries) | |||
System Environment Variables | Excel Discussion (Misc queries) | |||
System Environment Variables | Excel Discussion (Misc queries) | |||
Can excel regognise asp environment? | Excel Discussion (Misc queries) | |||
VB Automation is Whacking out my Excel Environment | Excel Discussion (Misc queries) |