Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Transpose Record Set

Status
Not open for further replies.

simoncpage

Programmer
Apr 4, 2002
256
GB
Using the following to copy a record set from access to excel how can I transpose these?
--------------------------------------
For intColIndex = 0 To rs.Fields.Count - 1

TargetRange.Offset(intColIndex, 0).Value = rs.Fields(intColIndex).Name

Next

TargetRange.Offset(0, 1).CopyFromRecordset rs
-------------------------------

Any help would be great!

Simon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top