rename files

  1. C

    VBA to copy the master file workbook 500 times with different file names

    Hi Guys Could you please assist me I have a master workbook that needs to be copied 500 times with different file names based on a list. I have used the following code Sub CopyAndRenameFiles_3() ' Define variables Dim MasterFilePath As String Dim NewFilePath As String Dim...
  2. B

    VBA Open File & Rename

    I am having trouble getting the correct "On Error" statement in my VBA code. I use a macro to list the file path in column A and copy and paste into column B and rename the files. If i list a file in column A that doesn't exist i want the code to continue onto the next file name in column A. As...
  3. K

    Excel VBA File Moving/Renaming

    Hey guys. I've done some snooping around to find the solution to my particular problem, but don't know enough about using VBA outside of Excel to figure it out with what I've found. Here's what I want to happen: I want all files with the extension .pdf, .doc, .zip, and .7z to be copied from a...
  4. J

    VBA Help rename files in folder and format data in renamed files

    Hi Guys, I need some help with the VBA code for excel 2010 to achieve the following processes: Grab the csv filenames from C:\TEMP\ Place filenames in column 1 rename files to xls format in C:\TEMP\ based on data in column 2 then Format the renamed files: Convert column A to whole numbers Sum...
  5. S

    Get Collection of Files in Folder

    Hello, I'm working on a project that requires me working with files and directories. I haven't had any issues yet with setting up user forms, letting users set file paths to folders or even selecting and importing files, etc... but I'm not sure how to grab all the files in a particular folder...
  6. T

    Renaming files in a folder

    I have a script that looks at Column A for the old file name and compares it to a bunch of images in a folder, when it finds a match it then looks in Column B for the new file name and renames the files.. That works great except when the new file name is the same as the current and it generates...
  7. A

    rename file names in a folder and files inside subfolders, vba

    greetings, as the title says, i'm trying to rename all files from a base path and files from its subfolders. my code, so far,.. only renames files in the base folder.. and it has an error path/file access error... Public Sub rFiles()Dim strPath As String Dim lngCount As Long Dim position As...
  8. A

    MACRO to create copy of files and rename them

    Can excel MACRO make copies of a file. I want to give path of one file and ask Excel to make copies of this file in same folders. Then rename these files.
  9. B

    VBA code to rename multiple files

    Good morning all, I've been googling around to piece together a macro for uniformly re-naming files in Windows, but the methods I've found all seem to be different (and also don't do exactly what I need). In short, I've got several directories containing a lot of pdf files. These files need...
  10. C

    Rename multiple files in a folder macro

    I have 400ish departmental budget files in a folder that I need to upload to a Sharepoint doc library. The files in the folder will have to exactly match the files we already have set up in sharepoint in order to upload them to the sharepoint site. As it stands now there is only one...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top