Thursday, September 19, 2013

Rename folder VBA Excel

  Dim OldFolderName As String
  Dim NewFolderName As String
    
    OldFolderName = "C:\testfloderNew"
    NewFolderName = "C:\testfolderOld"
    
    '-- Rename them
    Name OldFolderName As NewFolderName


No comments: