Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a worksheet with data and some areas do not have data to be filled in
later. Before checking I want to identify the cells which are blank with a color so that these can be looked and data fed. i think this can be done by go to special command. But I want some one to provide me with a code so that the same can be used for other worksheets also. thank in advance. I am using excel 2003 seenu |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Srinivasan,
Try: '============= Public Sub Tester() Dim rng As Range Set rng = Range("A1:A50") '<<==== CHANGE On Error Resume Next rng.SpecialCells(xlCellTypeBlanks).Interior.ColorI ndex = 6 On Error GoTo 0 End Sub '<<============= --- Regards, Norman "srinivasan" wrote in message ... I have a worksheet with data and some areas do not have data to be filled in later. Before checking I want to identify the cells which are blank with a color so that these can be looked and data fed. i think this can be done by go to special command. But I want some one to provide me with a code so that the same can be used for other worksheets also. thank in advance. I am using excel 2003 seenu |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
While working with EditGo ToSpecialBlanks, it captures Merged Cells as
blanks and deletes the values inside. Is there a way, we can control operation on Merged Cells. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
SpecialCells on its own does not delete anything. What's the overall
objective. Regards, Peter T "Kshipra" wrote in message ... While working with EditGo ToSpecialBlanks, it captures Merged Cells as blanks and deletes the values inside. Is there a way, we can control operation on Merged Cells. |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Enter this macro:
Sub Macro1() Dim r As Range For Each r In Selection If IsEmpty(r.Value) Then r.Interior.ColorIndex = 6 End If Next End Sub Select any range of cells that you want to examine and mark and run the macro. Please note that this macro will only color empty cells, not cells that are blank by reason of formula result. Have a good day! -- Gary's Student "srinivasan" wrote: I have a worksheet with data and some areas do not have data to be filled in later. Before checking I want to identify the cells which are blank with a color so that these can be looked and data fed. i think this can be done by go to special command. But I want some one to provide me with a code so that the same can be used for other worksheets also. thank in advance. I am using excel 2003 seenu |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks a lot Mr Gary"s student,Philip and Norman for the instant help.
srinivasan |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Try this: Selection.SpecialCells(xlCellTypeBlanks).Select of course, you may change Selection to a specifice range, or a variable that references a range HTH Philip "srinivasan" wrote: I have a worksheet with data and some areas do not have data to be filled in later. Before checking I want to identify the cells which are blank with a color so that these can be looked and data fed. i think this can be done by go to special command. But I want some one to provide me with a code so that the same can be used for other worksheets also. thank in advance. I am using excel 2003 seenu |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Identifying non-returning formula (blank Cell) | Excel Worksheet Functions | |||
No colour in cells when blank in list | Excel Worksheet Functions | |||
Identifying first non blank cell in 3 different columns | Excel Discussion (Misc queries) | |||
Identifying Blank Excel Sheet through .NET code | Excel Programming | |||
Identifying blank rows | Excel Programming |