+ Reply to Thread
Results 1 to 4 of 4

Replace all BLANK cells in column with header title "Balance" to "0"

  1. #1
    Forum Contributor
    Join Date
    09-04-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    298

    Replace all BLANK cells in column with header title "Balance" to "0"

    I need a code to do the following:

    1. Search in row 1 until it finds the header text "Balance"
    2. Check every cell in that column until the last used row of the spreadsheet is reached.

    For every cell:

    Please Login or Register  to view this content.
    Last edited by ks100; 02-21-2014 at 09:25 AM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Replace all BLANK cells in column with header title "Balance" to "0"

    Hello ks100,

    This macro worked for me...
    Please Login or Register  to view this content.
    Last edited by Leith Ross; 02-20-2014 at 06:53 PM.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    5,501

    Cool Try this to replace all BLANK cells in column with header title "Balance" to "0" :

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    09-04-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    298

    Re: Replace all BLANK cells in column with header title "Balance" to "0"

    Works great, thanks!

+ 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] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  2. [SOLVED] If there is any text in column "A$" on "sheet1" then move cell to column "A$" on "sheet2"
    By ckgeary in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-27-2013, 08:28 PM
  3. Replies: 2
    Last Post: 06-06-2013, 12:45 PM
  4. Replies: 3
    Last Post: 02-16-2011, 02:55 PM
  5. Replies: 3
    Last Post: 12-14-2006, 01:36 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