+ Reply to Thread
Results 1 to 5 of 5

VBA to apply only on blank cells.

  1. #1
    Forum Contributor
    Join Date
    07-17-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    715

    VBA to apply only on blank cells.

    Hi,

    I have below VBA, which I want to apply only to blank cells of that Row.

    Please Login or Register  to view this content.
    Please Assist.

    Thanks
    Keep the Forum clean :


    1. Use [ code ] code tags [ /code ]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    2. Show appreciation to those who have helped you by clicking * Add Reputation below their posts.
    3. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

  2. #2
    Forum Contributor
    Join Date
    07-17-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    715

    Re: VBA to apply only on blank cells.

    I am able to create the code, But why cant i put just value by removing the formula.

    Please Login or Register  to view this content.
    When Add .Value, it gives me incorrect result

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: VBA to apply only on blank cells.

    Maybe:

    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: VBA to apply only on blank cells.

    You need to include an error trapping if there are no blank cells.

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    07-17-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    715

    Re: VBA to apply only on blank cells.

    Thanks, it solved.

+ 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. [SOLVED] Macro to apply formula to blank cells in a column is offset (sometimes)
    By Chrispelletier in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-07-2013, 01:55 PM
  2. Skipping Blank cells in formula(searched but cant figure how to apply)
    By scotinexcile in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 08-21-2012, 09:14 PM
  3. apply formula when value in column A is not blank
    By randell.graybill in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-15-2009, 04:35 PM
  4. Apply conditional formatting to a cell when it is left BLANK
    By researchrach in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-30-2008, 10:59 PM
  5. Count last non blank column and apply to formula
    By Dukesford in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-30-2007, 03:37 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