R Rob Bovey Jul 13, 2004 #3 Giovaz > said: How can I put in a variable the path where the excel file reside? Click to expand... Hi Gio, Dim sPath As String sPath = ThisWorkbook.Path or sPath = ActiveWorkbook.Path if your code is running in a different workbook from the one whose path you want to store. -- Rob Bovey, MCSE, MCSD, Excel MVP Application Professionals http://www.appspro.com/ * Please post all replies to this newsgroup * * I delete all unsolicited e-mail responses *
Giovaz > said: How can I put in a variable the path where the excel file reside? Click to expand... Hi Gio, Dim sPath As String sPath = ThisWorkbook.Path or sPath = ActiveWorkbook.Path if your code is running in a different workbook from the one whose path you want to store. -- Rob Bovey, MCSE, MCSD, Excel MVP Application Professionals http://www.appspro.com/ * Please post all replies to this newsgroup * * I delete all unsolicited e-mail responses *
G Giovaz Jul 13, 2004 #4 Oh, wonderful! Thanx a lot! ...the stupid things are always the forgotted ones... ;