Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This is my first time programming in VBA and I seem to
have some difficulty in referencing cells. In the code I am writing I need to set a cell as a base point, I know of the row for the base point but not the column. After base cell is established, I would need to reference other cells in reference to the base point cell (Column for the base point may change in each iteration). Here's the code I've tried using, but the third line gives me an error. Range("B30").End(xlToRight).Select ActiveCell.Offset(rowOffset:=0, columnOffset:=-1).Select Range(Cells("31", ActiveCell.Column)).Select Can someone help me with this? Thank you. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
referencing cells based on conditions in other cells | Excel Discussion (Misc queries) | |||
Referencing the same cells | Excel Discussion (Misc queries) | |||
Referencing several cells with IF? | Excel Worksheet Functions | |||
Referencing Cells | Excel Worksheet Functions | |||
Referencing Cells | Excel Worksheet Functions |