Re: Passing information from VBA variable to Excel range
From: Tom Ogilvy (twogilvy_at_msn.com)
Date: 04/30/04
- Next message: Earl Kiosterud: "Re: Help in macro in excel."
- Previous message: Don Guillett: "Re: Deleting Rows"
- In reply to: Doug R: "Passing information from VBA variable to Excel range"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 30 Apr 2004 09:52:36 -0400
That is it
Range("C1:D100").Value = variant_matrix
--
Regards,
Tom Ogilvy
"Doug R" <dougrosenbaum@hotmail.com> wrote in message
news:47021b30.0404300543.16ac3db6@posting.google.com...
> I am new to this - sorry for the basic question.
> First I grab a range of data from excel and put it in a variant by:
> variant_matrix = Range("A1:B100").Value
>
> then do a whole bunch of manipulation in vba,
> now I want to pass the variable back to excel in the range("C1:D100")
> is there a way to do this efficiently? The only way I have found that
works is
> to use a loop and do it cell by cell which is very time consuming.
> Is there an equivalent to:
>
> Range("C1:D100").Value = variant_matrix
>
>
> Thank you,
- Next message: Earl Kiosterud: "Re: Help in macro in excel."
- Previous message: Don Guillett: "Re: Deleting Rows"
- In reply to: Doug R: "Passing information from VBA variable to Excel range"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|