Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Item numbers result in item description in next field in Excel Cheryl MM Excel Worksheet Functions 1 February 20th 07 03:51 PM
Pivot Item: removing non-existant item from the drop down CinqueTerra Excel Programming 2 February 23rd 06 08:47 PM
Reference to Item in Collection Chad Excel Programming 2 February 19th 06 02:37 PM
refer to drop down item as a sheet reference in a formula milkman Excel Worksheet Functions 2 January 18th 06 07:09 PM
cell reference to last item in a list Lee Excel Discussion (Misc queries) 1 February 2nd 05 08:07 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"