Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
copy worksheet to array
Hi I know that it is possible to copy a array t o a worksheet but I can't find out if it's possible to copy a worksheet into an arry? Thanks in advance *** Sent via Developersdex http://www.developersdex.com *** |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
copy worksheet to array
You can copy a Range into an array using the varue property like
myarray = Range("A1:F10").value "Kalle" wrote: Hi I know that it is possible to copy a array t o a worksheet but I can't find out if it's possible to copy a worksheet into an arry? Thanks in advance *** Sent via Developersdex http://www.developersdex.com *** |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
copy worksheet to array
this may be what you're looking for
Sub test() Dim ws As Worksheet Dim arr As Variant Dim rng As Range Set ws = Worksheets("Sheet1") arr = ws.Range("A1:P1000") End Sub -- Gary "Kalle" wrote in message ... Hi I know that it is possible to copy a array t o a worksheet but I can't find out if it's possible to copy a worksheet into an arry? Thanks in advance *** Sent via Developersdex http://www.developersdex.com *** |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
copy worksheet to array
Thanks a lot for your replay. It now works as I want. *** Sent via Developersdex http://www.developersdex.com *** |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Efficient Code to Copy a 1-D Array to a Worksheet Column | Excel Programming | |||
copy one array formula to an array range | Excel Programming | |||
ReDim Variant array for worksheet copy | Excel Programming | |||
copy 1 array to another array | Excel Programming | |||
Copy Array pointer rather than entire array | Excel Programming |