+ Reply to Thread
Results 1 to 3 of 3

Copy For Cell Values Present and not Formulas Present

  1. #1
    Forum Contributor
    Join Date
    12-10-2008
    Location
    Austin
    Posts
    660

    Copy For Cell Values Present and not Formulas Present

    The following code fills down column B for rows 3 to 110, regardless
    of the inserted "If Not IsEmply' statement.
    I've got formulas in Column A from row 3 to 110, but visible values in
    rows 3-5. I want it to fill the for the visible values only.

    Please Login or Register  to view this content.
    Any help is appreciated.

    Thanks,

    BDB
    Last edited by bdb1974; 09-11-2009 at 12:11 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Copy For Cell Values Present and not Formulas Present

    ISEMPTY is the wrong approach then, if a formula is in the cell (regardless of the current result), the cell isn't empty.

    Try this instead:
    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    12-10-2008
    Location
    Austin
    Posts
    660

    Re: Copy For Cell Values Present and not Formulas Present

    Thanks JBeaucaire, I will try.

    I did find a fix on my own. I simply changed the "If Not isEmpty"
    to If IsNumeric". And this works since the value in A are numerical.

+ 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