+ Reply to Thread
Results 1 to 2 of 2

Renaming of sheet name in all excel files of a directory

  1. #1
    Registered User
    Join Date
    05-25-2013
    Location
    Hyderabad India
    MS-Off Ver
    Excel 2003
    Posts
    1

    Renaming of sheet name in all excel files of a directory

    hi

    dear all
    I am a medium user of excel 2003 and I love to work in excel
    I am working for Government of India, Hyderabad
    I noticed that sheet1 of all excel files in a directory is erroneously named as " Sheet1" i.e. with a space before name.
    Now I want to change the name of all files without opening each file and rename then close......
    plz help me

    Thanq All
    KBK Rao

  2. #2
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,784

    Re: Renaming of sheet name in all excel files of a directory

    I want to change the name of all files without opening each file and rename then close
    Well you can't. The best you can do is using a macro to loop through all files in that folder, open each file and rename the sheet and finally close the file.

    If you use the command "Application.ScreenUpdating = False" you will not see the screen flickering so this will give the illusion that the files are not opened and closed.

    Alf

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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