Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The first thing that comes to mind is that you could start with
something like this: Do x = x + 1 Loop Until Cells(1, x).Value = "" This will run until it comes to a blank column. Then you can run the code one way or another based on that number If x = 8 Then blah blah blah Else If x = 10 blah blah blah End If That is just one example of how you can use the information. Let me know if you need further help. - Pikus :D --- Message posted from http://www.ExcelForum.com/ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formulas that refer to a cell in the last row | Excel Worksheet Functions | |||
Formulas that refer to (several) other columns for arguments... | Excel Worksheet Functions | |||
Formulas that refer to other colums for arguments? | Excel Worksheet Functions | |||
refer to columns | Excel Discussion (Misc queries) | |||
Excel should let me use formulas that refer to other cells w/ form | Excel Worksheet Functions |