Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default How Can I copy all value of the array into the range?

Hello Everyone,

I' m trying put an array data into a range as following,

Dim rng As Range
Dim s As Worksheet
Dim arr

Set s = Sheet1
Set rng = Range(s.Cells(1, 1), s.Cells(10, 1))

arr = Array("A", "B", "C", "D", "E", "F", "G", "H", "I", "J")

rng.Value = arr

but All cells of the range is filled with "A".

How Can I copy all value of the array into the range as following,
A1 - "A"
A2 - "B"
A3 - "C"
....
A10 - "J"

Thanks in advance.


Reply
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
Copy an array of Sheets Aussiegirlone Excel Discussion (Misc queries) 4 July 12th 09 06:41 AM
RANGE EXCEL copy cell that meets criteria in a range confused Excel Worksheet Functions 3 March 27th 08 01:41 PM
How to fix an array or range delboy Excel Discussion (Misc queries) 1 February 12th 08 08:14 PM
copy array formula JR573PUTT Excel Worksheet Functions 2 February 16th 06 10:12 PM
Copy An Array Formula JR573PUTT Excel Discussion (Misc queries) 2 February 16th 06 08:57 PM


All times are GMT +1. The time now is 09:04 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"