+ Reply to Thread
Results 1 to 2 of 2

apply ByVal change only to visible cells

  1. #1
    Registered User
    Join Date
    11-18-2014
    Location
    australia
    MS-Off Ver
    2015
    Posts
    43

    apply ByVal change only to visible cells

    hi, i have a sheet that is normally viewed rather small to fit more data in the screen. the actual cell data comes from data validation and can be quite long

    i have a ByVal to widen a column on selection so that one can see the whole data validation string, then put it back afterwards

    Please Login or Register  to view this content.
    the columns are based on date ranges and as a range becomes more than 2 weeks old they get hidden. using this however (for obvious reasons) unhides the columns. is there a way to exclude hidden columns?

    i've tried
    Please Login or Register  to view this content.
    and a few other variations. the problem i see is my range will always be from 8 to 50, but the hidden range will change depending on the current date.

    thanks for any hints.
    Last edited by ferday; 08-01-2018 at 02:31 AM.

  2. #2
    Forum Contributor
    Join Date
    05-12-2018
    Location
    Netherlands
    MS-Off Ver
    2016
    Posts
    266

    Re: apply ByVal change only to visible cells

    this works?

    Please Login or Register  to view this content.

+ 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. Only apply formula for visible cells isn't working
    By cyborg31 in forum Excel General
    Replies: 4
    Last Post: 02-17-2016, 03:57 PM
  2. [SOLVED] Change background of ind cells based on their value 1-5. Apply to any cell on a worksheet
    By michaeldower in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-26-2014, 06:11 PM
  3. [SOLVED] how do you apply formatting to just visible cells?
    By ammartino44 in forum Excel General
    Replies: 4
    Last Post: 05-06-2014, 08:01 PM
  4. Apply COUNTIF to visible cells in a range
    By Belthasar in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-21-2013, 05:15 AM
  5. Apply formula only to visible cells after filtering
    By excelnd in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-28-2012, 06:47 AM
  6. Apply formula only to visible cells
    By Fatboy10 in forum Excel General
    Replies: 2
    Last Post: 06-17-2012, 07:34 AM
  7. 2 target cells for "Change(ByVal..." worksheet macro
    By timmtamm in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-12-2009, 05:12 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