raghuram.star
Board Regular
- Joined
- Sep 5, 2012
- Messages
- 102
I want to assign "My Documents" Path to a Variable, which should assign the Path in which ever system I run this Macro
Eg: Path of My Documents in my PC
C:\Documents and Settings\Rams\My Documents\
But If I hard code it in VBA, it will not work in other PCs with different User Names
Is there a way to assign default path of My Documents to an variable? So that I can run my macro from any where...!!
Any suggestions will be great help
Thanks in advance
Eg: Path of My Documents in my PC
C:\Documents and Settings\Rams\My Documents\
But If I hard code it in VBA, it will not work in other PCs with different User Names
Is there a way to assign default path of My Documents to an variable? So that I can run my macro from any where...!!
Any suggestions will be great help
Thanks in advance