Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Hi, Is the only way to select the first non blank cell in a range to use an if statement. e.g If D1 is the first cell in range A1 to F1 with info I want to return 1 for A to for B and so on. So D1 would return 4 VBA Noob -- VBA Noob ------------------------------------------------------------------------ VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833 View this thread: http://www.excelforum.com/showthread...hreadid=564240 |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Perhaps
MsgBox Range("A1").End(xlToRight).Offset(0, 1).Column -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "VBA Noob" wrote in message ... Hi, Is the only way to select the first non blank cell in a range to use an if statement. e.g If D1 is the first cell in range A1 to F1 with info I want to return 1 for A to for B and so on. So D1 would return 4 VBA Noob -- VBA Noob ------------------------------------------------------------------------ VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833 View this thread: http://www.excelforum.com/showthread...hreadid=564240 |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Thanks Bob -- VBA Noob ------------------------------------------------------------------------ VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833 View this thread: http://www.excelforum.com/showthread...hreadid=564240 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Selecting range in list of range names depending on a cell informa | Excel Discussion (Misc queries) | |||
Cell address in a range | Excel Discussion (Misc queries) | |||
Blank (empty) cell always equal to 0?? | Excel Discussion (Misc queries) | |||
copying cell names | Excel Discussion (Misc queries) | |||
blank cell turns to 0 | New Users to Excel |