Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Coverting a VBA array from 2-D to 1-D

Dave, check the second tab of the Date/Time dialog to make sure you are set
for the correct time zone. This is the more prevalent problem as most
computer clocks seem to be factory-set to the US West Coast time zone by
default.

--

Vasant


"Dave" wrote in message
u...
Hi Tom,

I don't know what would have happened, the time does look late but I

haven't
changed my clock and I thought that I did post this latish Sunday evening

I'm posting from Australia and we do have our clocks a little earlier for
daylight saving but 17 hours in front of you does seem a little extreme.
I'm posting this on Monday Dec 15 at 19.20.

Cheers

Dave

"Tom Ogilvy" wrote in message
...
Please fix/set your computer clock. You are way ahead of everyone else.

--
Regards,
Tom Ogilvy

Dave wrote in message
u...
Hi Bob,

I want to run a routine on the usedrange so there could be up to 256

values
per element

I thought or maybe more accurately hoped that there may be some sort

of
array conversion I could do - I was concerned that a FOR loop would

take
a
long time on say 200 columns by 10000 rows

Is a loop the only way?

Thanks

Dave


"Bob Phillips" wrote in message
...
Dave,

If that is all you want and you don't want loops, why not just use

Dim myarray(1)

myarray(0) = [A1] & [B1] & [C1] & [D1]
myarray(1) = [A2] & [B2] & [C2] & [D2]

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Dave" wrote in message
u...
I know I can quickly map a 2d range to an array with code such as

Sub MyArr()
Dim myarray
myarray = [A1:D2]
End Sub

Is there a quick way to convert the array into a single dimension
without
using a FOR loop?
I want to end up with an array of two elements, the first

containing
a
concatenated string of A1 to D1 the second of A2 to D2.

Thanks














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
Coverting to minutes Gostwin Excel Discussion (Misc queries) 2 June 5th 08 10:02 PM
coverting h:mm to decimal richzip Excel Discussion (Misc queries) 2 February 15th 08 07:42 PM
Coverting seconds into hr:min:sec jsturino Excel Discussion (Misc queries) 3 March 24th 06 08:00 AM
Coverting time Kim Excel Worksheet Functions 1 September 20th 05 01:24 AM
Coverting array data into single column dgarg Excel Worksheet Functions 4 December 15th 04 07:43 AM


All times are GMT +1. The time now is 01:36 PM.

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"