+ Reply to Thread
Results 1 to 8 of 8

naming worksheets

  1. #1
    Registered User
    Join Date
    10-30-2008
    Location
    Melbourne
    Posts
    26

    naming worksheets

    Hi guys,

    I have used this vba worksheet_change function in 2007 and it is not working, it works fine in 2003, however is not changing the worksheet or the target range... can you please advise why. I have saved the workbook as macro enabled but it still does not work

    This is carried on from my last thread naming worksheets, the entire code is available in that thread. Although i don't think it is the code as it works perfectly in 2003

    Thanks in advance

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    Maybe post the code in this thread?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    10-30-2008
    Location
    Melbourne
    Posts
    26
    Please Login or Register  to view this content.
    Last edited by shg; 12-11-2008 at 07:23 PM.

  4. #4
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387
    parlove,

    Please attach a workbook with just the sheet in question - scroll down and see "Manage Attachments".


    Have a great day,
    Stan
    Have a great day,
    Stan

    Windows 10, Excel 2007, on a PC.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved by clicking EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

  5. #5
    Registered User
    Join Date
    10-30-2008
    Location
    Melbourne
    Posts
    26
    Please see attachment as requested

    When the name is changed frmo the drop down in column B column c should automatically change to reflect the name in column b, the corresponding worksheet with the chart should also change, but it is not.

  6. #6
    Registered User
    Join Date
    10-30-2008
    Location
    Melbourne
    Posts
    26
    Any ideas on this issue, this code worked in v2003 however is not working in v2007. Thanks in advance for any advice.

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    Seems like something in the workbook is corrupt. When I saved and reopened it, it deleted some stuff and the macro ran fine.

    Excel found unreadable content ... Recover?

    ... then

    Removed Feature: External formula reference from /xl/externalLinks/externalLink1.xml part (Cached values from external formula reference)
    Removed Records: Formula from /xl/worksheets/sheet7.xml part
    Removed Records: Formula from /xl/calcChain.xml part (Calculation properties)

  8. #8
    Registered User
    Join Date
    10-30-2008
    Location
    Melbourne
    Posts
    26
    Sorry i am lost, what should i do to my doc to make it work.

    When the name in the drop down is selected, it should change the hyperlink name in column C and change the worksheet name it relates to. Did this happen for you?

+ 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