Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have not found a command in VBA to rename a directory in Windows Explorer.
Does anyone know the API code for renaming a directory? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Using File System Object...
Set objFSO = CreateObject("Scripting.FileSystemObject") objFSO.MoveFolder "C:\temp1" , "C:\temp2" If this post helps click Yes --------------- Jacob Skaria "Joakim Norrman" wrote: I have not found a command in VBA to rename a directory in Windows Explorer. Does anyone know the API code for renaming a directory? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
See the Name function in VBA help
Name sOldPath As sNewPath Regards, Peter T "Joakim Norrman" wrote in message ... I have not found a command in VBA to rename a directory in Windows Explorer. Does anyone know the API code for renaming a directory? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Renaming jpgs in a directory using names in excel spreadsheet | Excel Programming | |||
Renaming files in a directory | Excel Programming | |||
Renaming files in a directory | Excel Programming | |||
Renaming adding and deleting directory | Excel Programming | |||
Renaming all files in a directory | Excel Programming |