I
Ian
Is there any way in Excel to determine the Windows environment variable
%userprofile%? I need to write a macro to update templates on various
machines and need this information.
I can copy the "update" workbook to "My Documents" using %userprofile% in a
batch file, then use =Info("directory") to retrieve the current path, then
use Left to extract the root user profile, but I consider this to be a
workaround and would prefer a direct method, if available.
Many thanks.
Ian
%userprofile%? I need to write a macro to update templates on various
machines and need this information.
I can copy the "update" workbook to "My Documents" using %userprofile% in a
batch file, then use =Info("directory") to retrieve the current path, then
use Left to extract the root user profile, but I consider this to be a
workaround and would prefer a direct method, if available.
Many thanks.
Ian