Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a macro that finds a cell containing certain data. Once it's found, I need to move to column F, keeping the row the same.
Example: Criteria found in cell AA42. I need to now move to F42 so i can use the values for the 10 cells beginning at F42 though O42. If the data is found in Z9, I need the data in F9 through O9. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Patti,
Range("F" & Activecell.row).Select ' or .Activate John "Patti" wrote in message ... I have a macro that finds a cell containing certain data. Once it's found, I need to move to column F, keeping the row the same. Example: Criteria found in cell AA42. I need to now move to F42 so i can use the values for the 10 cells beginning at F42 though O42. If the data is found in Z9, I need the data in F9 through O9. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try refering to cells with row and column rather than A1 style.
range("A1") cells(1,1) range("B6") cells(6,2) range("A3:C5") range(cells(3,1),cells(5,3)) |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks John. I'm still a bit of an idiot on this one. Once I've identified the F column in whatever row I happen to be in. How do I then get the data (I have to put it into another worksheet) in the F column beginning at the active cell for a range of a totals of 10 columns such as F34:O34. The thing is since I never know what row I'll be in, don't know how to active the 10 cells once I find a match on the input parameter.
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
refer to whole column | Excel Discussion (Misc queries) | |||
How can I refer to an entire column? | New Users to Excel | |||
Countif forumulas that refer to more than one column | Excel Worksheet Functions | |||
How to refer to current column in a formula? | Excel Discussion (Misc queries) | |||
Trying to get a column of numbers to refer back | Excel Worksheet Functions |