LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Using an array to select data

Hi All,

Im having trouble using an array to select data and transfer to another sheet.

I've created the array:
Sheets("Tmp Resource Sheet").Select
Range("A1").Select
myArray = Range(Selection, Selection.End(xlDown))

and now i need to transfer what is in the array to another sheet. The other
sheet has a named cell(Bdg_LadDays), where the data has to be transferred 2
cells below it.

For m = 0 To n ' n being the number of rows in the array
Range(Bdg_LabDays).Cells(m + 2, 0).Value = Range(myarray(m)).Value
Next m

The code to transfer the arrays contents doesn't work.
Can anyone please suggest a way for me to get this working.

Thanks.
Tony.


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
randomly select a cell from an array TLC Excel Discussion (Misc queries) 7 April 22nd 23 07:43 PM
Select values in an array scott Excel Discussion (Misc queries) 2 September 9th 09 10:43 PM
how do i select in aleatory way 3 numbers from an array of 10 mauro Excel Worksheet Functions 3 August 25th 07 09:22 PM
Using array to select rows to copy Marcotte A Excel Programming 3 July 28th 04 12:48 PM
Select Sheets via Array Macro Frank Excel Programming 3 July 28th 04 01:51 AM


All times are GMT +1. The time now is 11:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"