Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
using cell values to select range of cells
I need to select a range of cells for copying/pasting
opperations but the range changes everytime new data is imported into the worksheet. The 2 columns remain the same but the rows vary. I can calculate the upper left row number and store that value in a specific cell location and likewise I can calculate the bottom right row number and store that value in another specific cell location, but I don't know how to write the macro code to assign the values. ex: [range("BA$:CX#").select] (where "$"= the value in cell AY1 and "#"= the value in cell AY2. It probably is very simple but I keep getting syntax errors. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Select range of cells from A1 to last cell with data? | Excel Discussion (Misc queries) | |||
Import values from a cell or a range of cells | Excel Worksheet Functions | |||
When entering data into a range of cells, select the entire range. | Excel Discussion (Misc queries) | |||
select date range then find average of values in another cell | Excel Worksheet Functions | |||
how can I select a range of cells based on a value of a cell? | Excel Discussion (Misc queries) |