Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
reference item
Dear,
i have a userform in excel and use follow statment to call it. Dim a As Object Set a = UserForm1 a.Show it is work fine. but after i add ado reference, i got a error message when i run above statement. i don't why? any help? thx, William |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
reference item
Why not just use
UserForm1.show ??? -- HTH... Jim Thomlinson "William" wrote: Dear, i have a userform in excel and use follow statment to call it. Dim a As Object Set a = UserForm1 a.Show it is work fine. but after i add ado reference, i got a error message when i run above statement. i don't why? any help? thx, William |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
reference item
because i don't know it is work. i'm new.
anyway, i have try you statement. it is same problem. the error code is 91 this problem appear after check the "Microsoft ActiveX Data Objects 2.8 Library". thx, William "Jim Thomlinson" ... Why not just use UserForm1.show ??? -- HTH... Jim Thomlinson "William" wrote: Dear, i have a userform in excel and use follow statment to call it. Dim a As Object Set a = UserForm1 a.Show it is work fine. but after i add ado reference, i got a error message when i run above statement. i don't why? any help? thx, William |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Item numbers result in item description in next field in Excel | Excel Worksheet Functions | |||
Pivot Item: removing non-existant item from the drop down | Excel Programming | |||
Reference to Item in Collection | Excel Programming | |||
refer to drop down item as a sheet reference in a formula | Excel Worksheet Functions | |||
cell reference to last item in a list | Excel Discussion (Misc queries) |