ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   define range name, use on VBA selected sheet (https://www.excelbanter.com/excel-programming/333275-define-range-name-use-vba-selected-sheet.html)

Bob Swan

define range name, use on VBA selected sheet
 
I want to sort tables of data results. Results for differant areas are stored
on differant worksheets in one workbook. Some of the worksheets do not
contain result data.
The required range is defined as several contiguous columns.
How can I define the range once, and yet apply it to the result sheets from
VBA.

Do I have to write a function to convert the named range column referances
to a string format suitable for defining a range? Or is there an existing
function/method I am missing.


All times are GMT +1. The time now is 01:45 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com