Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
get folder syntax
Hi, in my current macro I am using a cell to input the folder path information. Can I ask the user to inut the path (similar to Application.GetFileOpen()). I need the folder path from where the macro will read file one by one. Can someone suggest please. Thanks in advance -- sr |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
get folder syntax
Can you use a message box?
dim FilePath as string FilePath = msgbox("Please provide the file path", VbOKOnly, "File Path Needed") Then you have FilePath as whatever they type in. Mark "SR" wrote: Hi, in my current macro I am using a cell to input the folder path information. Can I ask the user to inut the path (similar to Application.GetFileOpen()). I need the folder path from where the macro will read file one by one. Can someone suggest please. Thanks in advance -- sr |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Copying all files in a folder to new folder | Excel Discussion (Misc queries) | |||
can excel links be somehow relative to folder structure? | Excel Discussion (Misc queries) | |||
Need code to save file to new folder, erase from old folder | Excel Discussion (Misc queries) | |||
Macro syntax to open file in current explorer folder | Excel Discussion (Misc queries) | |||
What is folder OLK7 and where can I find it? | Excel Discussion (Misc queries) |