ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Defined named range to array (https://www.excelbanter.com/excel-programming/284388-defined-named-range-array.html)

MattShoreson[_2_]

Defined named range to array
 

I would like to know if it's possible and preferably the syntax also fo
assigning values to an array using a named range.

cheers,
Matt

-----------------------------------------------
~~ Message posted from http://www.ExcelTip.com
~~View and post usenet messages directly from http://www.ExcelForum.com

~~Now Available: Financial Statements.xls, a step by step guide to creating financial statements

Colo

Defined named range to array
 
Hi Matt,

You can get value as an array.

Dim a as variant
a = Range("NamedRange").value




"MattShoreson" wrote in message
...

I would like to know if it's possible and preferably the syntax also for
assigning values to an array using a named range.

cheers,
Matt.


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

~~Now Available: Financial Statements.xls, a step by step guide to

creating financial statements



All times are GMT +1. The time now is 04:38 AM.

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