Home |
Search |
Today's Posts |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub Test()
'LName is the merged range of cells, on the worksheet, of cells A1 to 'A3 Worksheets("Sheet1").Range("LName") = "Anderson" 'Test to see what "LName" is If Range("LName")(1).Value < "" Then MsgBox "Yes" End Sub would be simpler. -- Regards, Tom Ogilvy " wrote: Here is what I got to work finally. It is pretty simple now that I understand it more but it took a bit to get to it. Thanks for all the help Mark Scott Sub Test() 'LName is the merged range of cells, on the worksheet, of cells A1 to A3 Worksheets("Sheet1").Range("LName") = "Anderson" 'Test to see what "LName" is If Cells(Range("LName").Row, Range("LName").Column).Value < "" Then MsgBox "Yes" End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Determine if range has NO Blank Cells without looping through each cell in range | Excel Programming | |||
Combobox to determine text for a range of cells | Excel Programming | |||
Determine whether a value is in a range of cells | Excel Discussion (Misc queries) | |||
Referencing cells that array covers | Excel Programming | |||
Expanding Gray Bar That Covers Excel Cells | Excel Programming |