+ Reply to Thread
Results 1 to 2 of 2

blank cell color VBA

  1. #1
    Registered User
    Join Date
    09-12-2016
    Location
    Riga, Latvia
    MS-Off Ver
    2010
    Posts
    20

    blank cell color VBA

    hey, I am trying to fill in blank cells with color, but the way I am doing it, it does not work.
    the lines I am using:

    If Wks1.Cells(j, 4).Value = "" Then
    Wks1.Cells(j, 4).Interior.ColorIndex = 3
    End If

    Should it work?

    Is there another way how to fill in blank cells with color?

    Thank you very much!

  2. #2
    Registered User
    Join Date
    09-12-2016
    Location
    Riga, Latvia
    MS-Off Ver
    2010
    Posts
    20

    Re: blank cell color VBA

    Never mind, seems to me I figure it out....

+ 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. Replies: 8
    Last Post: 06-27-2015, 03:21 PM
  2. [SOLVED] Toggle fill Color in cell based on condition of cell--blank or text added.
    By moosetales in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-15-2014, 08:39 PM
  3. [SOLVED] Color fill an blank cell
    By jmcole in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-14-2014, 02:10 PM
  4. Replies: 2
    Last Post: 06-18-2013, 01:21 PM
  5. Change cell color if only if not blank
    By LaurenSmalley in forum Excel General
    Replies: 4
    Last Post: 02-04-2011, 03:06 PM
  6. color blank cell red if blank or empty and count its occurances
    By stoey in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-01-2009, 08:21 AM
  7. Replies: 7
    Last Post: 11-11-2006, 01:41 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