R
Richard H Knoff
I have a workbook with some macros that work on another workbook
("Data.xls"). One thing I want the macro to do, is to select everything in
a worksheet named Survey and name the range "Database". This would be
equivalent to go to the Data workbook and Survey worksheet, hitting
Ctrl+Shift+End and enter Database in the name box. I can't record this
action because the code specifies the cells included in the current version
of Data.xls, and the number of rows will change.
What code can I use to accomplish this?
Richard
("Data.xls"). One thing I want the macro to do, is to select everything in
a worksheet named Survey and name the range "Database". This would be
equivalent to go to the Data workbook and Survey worksheet, hitting
Ctrl+Shift+End and enter Database in the name box. I can't record this
action because the code specifies the cells included in the current version
of Data.xls, and the number of rows will change.
What code can I use to accomplish this?
Richard