+ Reply to Thread
Results 1 to 2 of 2

Hiding/Unhiding Columns referencing a cell with a formula

  1. #1
    Registered User
    Join Date
    03-20-2012
    Location
    Kerala,india
    MS-Off Ver
    Excel 2007
    Posts
    1

    Hiding/Unhiding Columns referencing a cell with a formula

    Hi all,


    I have columns in other sheets to hide based on the the value of a cell in another worksheet.I got two drop down list in 1st sheet, each hides different column in sheet2 and sheet3. somehow i have ended with the code but It is coming up with a Compile Error: Ambiguous name detected: Worksheet_Change

    code is
    Please Login or Register  to view this content.
    Any help would be greatly appreciated!!!
    Last edited by Paul; 04-15-2012 at 03:51 PM. Reason: Added CODE tags for new user. Please do this yourself in the future.

  2. #2
    Valued Forum Contributor MaczaQ's Avatar
    Join Date
    06-03-2011
    Location
    Poland
    MS-Off Ver
    Excel 2003 / XP
    Posts
    510

    Re: Hiding/Unhiding Columns referencing a cell with a formula

    see that you have duplicate line in the middle of your code ... so you starts two times the same SUB (it is impossible) and you have only one END SUB
    Please Login or Register  to view this content.
    Best Regards
    MaczaQ
    ---------------------------------------------------------------------------------------------------------------------------
    If you are satisfied with the solution(s) provided, please mark your thread as Solved
    If you are pleased with my answer consider to rate it. To thank someone who has helped you, click on the star icon below their name.
    - This way you will add him some reputation points ... thanks in advance.

+ 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