+ Reply to Thread
Results 1 to 5 of 5

Table column have amount, worksheet hidden

  1. #1
    Forum Contributor
    Join Date
    05-09-2010
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    212

    Table column have amount, worksheet hidden

    If table 1 column salary have any amount, then worksheet hidden.
    below is the code but it doesn't work. why?

    Please Login or Register  to view this content.
    Last edited by Shermaine2010; 09-24-2016 at 11:00 AM.

  2. #2
    Valued Forum Contributor mangesh.mehendale's Avatar
    Join Date
    06-04-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    510

    Re: Table column have amount, worksheet hidden

    Try using regular Range instead of using Table like .. say your Salary Col is in Range C4:C50 the use ...

    Please Login or Register  to view this content.

    Also its appearing that you have not mention variable for Range "Slr" VBA cant identify the Slr as Range unless it is declared try below code...

    Please Login or Register  to view this content.
    Last edited by mangesh.mehendale; 09-24-2016 at 08:09 AM.
    Don`t care, take care...

    Regards,
    Mangesh

  3. #3
    Forum Contributor
    Join Date
    05-09-2010
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    212

    Re: Table column have amount, worksheet hidden

    Quote Originally Posted by mangesh.mehendale View Post
    Try using regular Range instead of using Table like .. say your Salary Col is in Range C4:C50 the use ...

    Please Login or Register  to view this content.

    Also its appearing that you have not mention variable for Range "Slr" VBA cant identify the Slr as Range unless it is declared try below code...

    Please Login or Register  to view this content.
    I need the dynamic range. The data already is created as Table. Thus I use table with header name to set the range.

    How to add in dynamic range by using table's header?

  4. #4
    Forum Contributor
    Join Date
    05-09-2010
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    212

    Re: Table column have amount, worksheet hidden

    Quote Originally Posted by mangesh.mehendale View Post
    Try using regular Range instead of using Table like .. say your Salary Col is in Range C4:C50 the use ...
    Even I use the range, the worksheet also hidden for counta = 0.

  5. #5
    Valued Forum Contributor mangesh.mehendale's Avatar
    Join Date
    06-04-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    510

    Re: Table column have amount, worksheet hidden

    to my end its working fine... attach a sample file...

+ 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. Table amount instead off pivot table amount in the slicer
    By sportfan in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-30-2015, 09:07 AM
  2. Replies: 3
    Last Post: 11-09-2014, 08:57 PM
  3. [SOLVED] In pivot match vertical row amount with the horizontal column -amount and highlight that
    By Goku in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-21-2013, 02:04 AM
  4. [SOLVED] Automatically revise Table of Contents list when worksheet is hidden
    By rbaughman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-25-2013, 11:30 AM
  5. Pivot Table - Source worksheet hidden
    By abgmclt in forum Excel General
    Replies: 0
    Last Post: 02-16-2011, 12:53 PM
  6. How do you figure the amount of a hidden tax?
    By jPaulB in forum Excel General
    Replies: 3
    Last Post: 07-07-2010, 10:51 AM
  7. Pivot Table: Show total % when one column is hidden.
    By G0liath02 in forum Excel General
    Replies: 1
    Last Post: 06-03-2009, 07:50 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