Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 102
Default Another avoid the loop trick request - on fast fill (Maybe an Alan trick)

Since there was such a wonderfully useful way to round all the items in
a range as they are loaded into an array posted -

I'm wondering if there is a fast was to fill an entire column of values
in an array with a particular value?

In otherwords .....

2 x 2 array....

C1 C2 C3
R1 v1
R2 v1
R3 v1
.. v1
.. .
.. .

Where R is row, C is column and V is the value....

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 863
Default Another avoid the loop trick request - on fast fill (Maybe an Alan trick)

If you are talking about a worksheet range, yes

Range("A1:K398").Value = 3

If you mean a VBA array, no. You need to use a loop or a 3rd party utility.

On 6 Oct 2004 09:11:10 -0700, "
wrote:

Since there was such a wonderfully useful way to round all the items in
a range as they are loaded into an array posted -

I'm wondering if there is a fast was to fill an entire column of values
in an array with a particular value?

In otherwords .....

2 x 2 array....

C1 C2 C3
R1 v1
R2 v1
R3 v1
. v1
. .
. .

Where R is row, C is column and V is the value....


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
That did the trick Cindy Nealon Excel Discussion (Misc queries) 0 February 23rd 10 04:06 PM
Conditional logic - trick question rjreilly Excel Discussion (Misc queries) 3 November 4th 08 11:04 PM
Neat Trick Frank Pytel Excel Discussion (Misc queries) 4 April 21st 08 09:20 PM
This Guy shows a SEO trick to beat Pay Per Click egfryew9 Excel Discussion (Misc queries) 0 January 17th 08 03:20 AM
Sharing a neat trick MartinW Excel Discussion (Misc queries) 6 July 9th 07 12:52 AM


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