ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   range array (https://www.excelbanter.com/excel-programming/418406-range-array.html)

JJF

range array
 
There is any way to use this code

Set rngArray = Range("xxx")
arrCodes = rngArray.Value

also for file csv?

I'd like to import into variant array a range from this kind of file.
Any idea?

tya

Bob Phillips[_3_]

range array
 
If you open a csv file in Excel like any other workbook, you can treat it as
a workbook, and do things such as that.

--
__________________________________
HTH

Bob

"JJF" wrote in message
...
There is any way to use this code

Set rngArray = Range("xxx")
arrCodes = rngArray.Value

also for file csv?

I'd like to import into variant array a range from this kind of file.
Any idea?

tya




JJF

range array
 
On Oct 12, 6:13*pm, "Bob Phillips" wrote:
If you open a csv file in Excel like any other workbook, you can treat it as
a workbook, and do things such as that.

--
__________________________________
HTH

Bob

"JJF" wrote in message

...



There is any way to use this code


Set rngArray = Range("xxx")
* * * arrCodes = rngArray.Value


also for file csv?


I'd like to import into variant array a range from this kind of file.
Any idea?


tya- Hide quoted text -


- Show quoted text -



and how to import all range all at once into variatn variable?
cause it will get all the entire row, and i'd need the "split"


All times are GMT +1. The time now is 05:12 PM.

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