ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Import Excel Forms into Visual Basic? (https://www.excelbanter.com/excel-programming/317749-import-excel-forms-into-visual-basic.html)

Erik - VB Coder

Import Excel Forms into Visual Basic?
 
I've created an Excel App using VBA, creating forms in Excel with combo boxes
that reference a worksheet to complete their RowSource property.

I need to re-do this app now in VB and would like to re-use the same forms.
Importing them into VB as Designers, everything except the RowSource property
works like a charm.

Why doesn't VB recognize the RowSource ("A4:B11", for example)?

Thx... ~ Erik

Bob Phillips[_6_]

Import Excel Forms into Visual Basic?
 
Because RowSource refers to a worksheet range and VB is not worksheet
specific?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Erik - VB Coder" <Erik - VB wrote in
message ...
I've created an Excel App using VBA, creating forms in Excel with combo

boxes
that reference a worksheet to complete their RowSource property.

I need to re-do this app now in VB and would like to re-use the same

forms.
Importing them into VB as Designers, everything except the RowSource

property
works like a charm.

Why doesn't VB recognize the RowSource ("A4:B11", for example)?

Thx... ~ Erik





All times are GMT +1. The time now is 05:44 PM.

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