+ Reply to Thread
Results 1 to 3 of 3

Rename sheets names according cell's values: how to handle errors produced by empty cells

  1. #1
    Registered User
    Join Date
    04-27-2012
    Location
    Southern Europe
    MS-Off Ver
    Excel 2011 mac
    Posts
    7

    Rename sheets names according cell's values: how to handle errors produced by empty cells

    Hi,

    I'm trying to modify the following Vba istructions.

    In cells G7 and H3 I have to write different names of nations, but if I delete the contents of cells G7 and H3, I would like to handle the error by renaming again the sheets with the original name (Sheet2 and Sheet7),



    Please Login or Register  to view this content.
    I hope my poor English (and very poor description) could be clear.

    Regards

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Rename sheets names according cell's values: how to handle errors produced by empty ce

    funny forum

    Please Login or Register  to view this content.
    I would not rely on the position of the sheeets in the workbook but refer to the codenames instqead no matter what the sheets are called.

    Ciao,
    Holger
    Last edited by HaHoBe; 10-06-2014 at 12:59 AM.
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Registered User
    Join Date
    04-27-2012
    Location
    Southern Europe
    MS-Off Ver
    Excel 2011 mac
    Posts
    7

    Re: Rename sheets names according cell's values: how to handle errors produced by empty ce

    Hi Holger

    I'm studying Vba "copying and studying" little examples I'm finding Googling around.


    Thank you much.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How do i handle N/A errors in an IF formula?
    By jonathanjjames in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-04-2013, 04:09 AM
  2. Replies: 7
    Last Post: 11-25-2012, 01:24 AM
  3. rename sheets according to column A names.
    By fatalcore in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-03-2011, 03:14 PM
  4. Handling Errors in Values & Empty cells in Excel 2007
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 11-28-2007, 06:37 AM
  5. Rename Multiple Sheets from a List of Available Names
    By prkhan56 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-04-2005, 02:06 PM

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