Results 1 to 3 of 3

Filling in Blank cells in CurrentRegion

Threaded View

  1. #1
    Forum Contributor
    Join Date
    05-09-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    259

    Filling in Blank cells in CurrentRegion

    Hello, I'm having a few problems with filling in Blanks with a 0. I have the following code so far. Any help appreciated.


    Sub Fill_Blanks()
    
    Dim cell As Range
    
    For Each cell In Range("B4").CurrentRegion
    
    If cell.SpecialCells(xlCellTypeBlanks) Then
    
    cell.Value = 0
    End If
    
    Next cell
    
    End Sub
    Last edited by Hurricanefly; 05-19-2013 at 11:59 AM.

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