I'm a new member and I'm writing a macro where I need to access the Full Path Name of the current Calc sheet. Is there a function to do this? I'm storing sheets in different user folders so I need this so the macro can access the user's name automatically.
Any help would be appreciated. Vista OS.
[Solved] Macro function for Path Name
[Solved] Macro function for Path Name
Last edited by Zeko on Fri Jul 18, 2008 5:29 am, edited 1 time in total.
OOo 2.4.X on MS Windows Vista
Re: Macro function for Path Name
Returns a blank string for an unsaved file, otherwise the full path and file name.
Code: Select all
MsgBox ThisComponent.getURL
Re: Macro function for Path Name
Thanks John. Much appreciated. Solved.
OOo 2.4.X on MS Windows Vista