Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default button to activate userform

What code would I use to call up a userform via a toolbar
button? The userform is not part of a macro, and I'm not
sure how to make it one. Does it need to be a dialogue
box? Also, is it possible to have the date already
filled in?

Is there a way to have a combo box reference an index
list on a existing worksheet? Ideally, any unrecognised
entries to the userform would then be added to the index,
and any recognised entries would fill in the address and
phone on the user form.

What does "ambiguous name detected~" mean?

Thank you very much for your help!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default button to activate userform

Sub ShowForm()
Userform1.Show
End Sub

Attach to a commandbutton

Have no idea what an indexed list it. Sounds like you are asking about
programming the functionality of your userform.


http://support.microsoft.com/default.aspx?kbid=161514
XL97: How to Use a UserForm for Entering Data

http://support.microsoft.com/default.aspx?kbid=213749
XL2000: How to Use a UserForm for Entering Data



Ambiguous name means you have two routines with the same name.

--
Regards,
Tom Ogilvy



"Virginia" wrote in message
...
What code would I use to call up a userform via a toolbar
button? The userform is not part of a macro, and I'm not
sure how to make it one. Does it need to be a dialogue
box? Also, is it possible to have the date already
filled in?

Is there a way to have a combo box reference an index
list on a existing worksheet? Ideally, any unrecognised
entries to the userform would then be added to the index,
and any recognised entries would fill in the address and
phone on the user form.

What does "ambiguous name detected~" mean?

Thank you very much for your help!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 156
Default button to activate userform

Well, first you must write a macro that call show the userform ... like this:

sub ShowForm()

userform1.show

end sub

next, in Excel, create a new button on a toolbar (right-click any toolbar
and click 'Customize...' to create a new button).

Once you've put the new button on yr toolbar, right-click it, and click
'Assign Macro...' to select your new macro to run the form when it is clicked.

HTH

Philip
"Virginia" wrote:

What code would I use to call up a userform via a toolbar
button? The userform is not part of a macro, and I'm not
sure how to make it one. Does it need to be a dialogue
box? Also, is it possible to have the date already
filled in?

Is there a way to have a combo box reference an index
list on a existing worksheet? Ideally, any unrecognised
entries to the userform would then be added to the index,
and any recognised entries would fill in the address and
phone on the user form.

What does "ambiguous name detected~" mean?

Thank you very much for your help!

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
activate a page of a Multipage in Userform Jeff Excel Discussion (Misc queries) 1 February 8th 08 06:16 PM
Password userform activate Moh Excel Discussion (Misc queries) 2 December 14th 07 09:01 AM
Activate Userform (run macro?) from cell value ziggyg[_3_] Excel Programming 1 April 13th 04 04:45 AM
Userform activate event question dan Excel Programming 1 January 26th 04 04:14 PM
Userform.Activate Neil Excel Programming 2 September 15th 03 04:35 PM


All times are GMT +1. The time now is 03:25 PM.

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

About Us

"It's about Microsoft Excel"