Re: can .range return a 1D array?
- From: Alan Beban <unavailable@xxxxxx>
- Date: Thu, 15 May 2008 10:14:37 -0700
Dave Peterson wrote:
And if arr is a single row 2-D array, then
As will:
with application
arr = .transpose(.Transpose(arr))
end with
just another way...
Which reminds me . . .
Both arr = Application.Transpose(Application.Transpose(arr)) and
arr = Application.Index(arr,1,0)
will return a 1-based array, regardless of the base of the array that was input.
If the add-in functions I referred to in my previous post are available to the workbook
arr = OneD(arr) will return a 1-based or 0-based array, depending on the base of the array that was input.
Alan Beban
.
- Follow-Ups:
- Re: can .range return a 1D array?
- From: RB Smissaert
- Re: can .range return a 1D array?
- References:
- can .range return a 1D array?
- From: Bruce Bowler
- Re: can .range return a 1D array?
- From: Charles Williams
- Re: can .range return a 1D array?
- From: T Lavedas
- Re: can .range return a 1D array?
- From: Bruce Bowler
- Re: can .range return a 1D array?
- From: Alan Beban
- Re: can .range return a 1D array?
- From: Dave Peterson
- can .range return a 1D array?
- Prev by Date: RE: Automatic Updating of Changing filenames
- Next by Date: RE: VBA question: How to extract cell values in different language
- Previous by thread: Re: can .range return a 1D array?
- Next by thread: Re: can .range return a 1D array?
- Index(es):
Relevant Pages
|
Loading