View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Sam Wilson Sam Wilson is offline
external usenet poster
 
Posts: 523
Default Selecting a column , row or cell

eg:

Cells(Range("A1").value,range("A2").value).Select

etc

"nghica" wrote:

I want to select a column, a row or a cell, but the trick is that the cell i
want to select depends on the value of another cell. for example if A1=7 and
A2=5, i want to select the cell with row 5 and column 7, cell G5 is that
possible with a command in VBA?

something like: Range("Value(A1),Value(A2)").Select

Is that even possible with a command in VBA?

or is there any posibility to select a column row or range not by their
coordonates but depending on the current date or depending on the position of
other culumns or cells?


Thank you very much for your help