Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How can I put in a variable the path where the excel file reside?
Gi -- Message posted from http://www.ExcelForum.com |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
e.g. dim spath spath=activeworkbook.path -- Regards Frank Kabel Frankfurt, Germany How can I put in a variable the path where the excel file reside? Gio --- Message posted from http://www.ExcelForum.com/ |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Oh, wonderful!
Thanx a lot! ...the stupid things are always the forgotted ones... ; -- Message posted from http://www.ExcelForum.com |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
"Giovaz " wrote in message
... How can I put in a variable the path where the excel file reside? 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 * |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Relative Path to a Folder | Excel Discussion (Misc queries) | |||
how to change absolute path to relative path | Excel Worksheet Functions | |||
Absolute vs Relative path | Excel Discussion (Misc queries) | |||
SaveAs and relative path | Excel Programming | |||
relative path. | Excel Programming |