Transpose heading array

  • Thread starter Thread starter Limey
  • Start date Start date
L

Limey

Hi,

I use the following code the form heading at the top of the page, from
left to right, using an array as follows:

With Range("A1").Resize(1, 9)
.Value = Array("Container", "PO#", "Style", "Color & Size", _
"Pairs", "Origin", "Cartons", "Invoice Pairs", "Difference
to Invoice")
End With

My question is, how do I transpose this array, so that the headings go
from top to bottom, (range A1 to A9). Obviously the range resize
statement will be 9 rows one column, instead of 1 row nine columns it
is set to now.

thanks in advance for any help
 
hi
instead of....
With Range("A1").Resize(1, 9)
change to....
With Range("A1").Resize(9, 1)

regards
FSt1
 
hi
instead of....
With Range("A1").Resize(1, 9)
change to....
With Range("A1").Resize(9, 1)

regards
FSt1

I'm slapping myself on the head here, Thank you :))
Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top