find current path in VBA macro word  
Author Message
issarto





PostPosted: Visual Basic for Applications (VBA), find current path in VBA macro word Top

I have a macro in word.
In this macro I have need of a function that find the current path.


Microsoft ISV Community Center Forums1  
 
 
blackmamba





PostPosted: Visual Basic for Applications (VBA), find current path in VBA macro word Top

try CurDir

 
 
Subbusoft





PostPosted: Visual Basic for Applications (VBA), find current path in VBA macro word Top

Try this

Application.path which return the current working path.

check out

msgbox application.path



 
 
bvravi





PostPosted: Visual Basic for Applications (VBA), find current path in VBA macro word Top

To get the activedocument path, use
------
Msgbox Activedocument.Path
------
-bvr