ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   read the values in a range and store them in macro (https://www.excelbanter.com/excel-programming/276960-re-read-values-range-store-them-macro.html)

Tom Ogilvy

read the values in a range and store them in macro
 
As long as the other occasion is before you close the workbook.

Public vArr as Variant


Sub InitvArr()
vArr = worksheets(1).Range("A1").Resize(10,20).Value
End sub

--
Regards,
Tom Ogilvy


DL wrote in message
...
Is it possible to read the values in a range and store them in a macro for
use on another occasion?






All times are GMT +1. The time now is 10:56 PM.

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