+ Reply to Thread
Results 1 to 2 of 2

Rename cell based on file name for multiple files

  1. #1
    Registered User
    Join Date
    11-08-2012
    Location
    Balitmore
    MS-Off Ver
    Excel 2010
    Posts
    4

    Rename cell based on file name for multiple files

    Hi,
    I'm looking for a macro that can rename cell H1 (sheet1) to a portion of the file name, and I need this to loop for every file in that directory.

    Any help is greatly appreciated!

  2. #2
    Registered User
    Join Date
    11-08-2012
    Location
    Balitmore
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Rename cell based on file name for multiple files

    To elaborate a bit on this request, I have a macro that pulls a single column from multiple workbooks and pastes it into a single workbook. However, it does this is no particular order and the header of the column it is pulling has the same name in each file. So I'm trying to have that column's header changed to the file's name so I can identify it once it is pasted into main workbook. Maybe the rename function can be added to the macro that pulls the columns? See below:

    Please Login or Register  to view this content.
    Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1