ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Recordset to Listbox, no application.transpose (https://www.excelbanter.com/excel-programming/433991-recordset-listbox-no-application-transpose.html)

Webtechie

Recordset to Listbox, no application.transpose
 
Hello,

I've seen a couple of replies from people in the forum on how to create a
recordset and then transfer values to a listbox.

The general answer is:

frmUser.listbox1.list = application.transpose(rsdata)

However, I tried that and didn't see a application.transpose. I did see an
application.worksheetfunctions.transpose. That does not work.

Error message: "Unable to get the Transpose property of the
WorksheetFunction class".

I am using Excel 2007.

Can someone shed some light on how to add a recordset to a listbox?

Thank you.

Tony


All times are GMT +1. The time now is 12:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com