Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,814
Default load user forms

Well I thought I had this last part all figured out-- my other forms load
this way with no trouble whatsoever, but not this latest one....
argh!!!

As far as I can tell, in order to call a form from the xlam-- once the xml
code is in place-- is to create another macro, in a module, within the xlam
file.

sub userform1(control as IRibbonControl)
userform.show
end sub

this has worked on 5 other user forms that I have, but not this one.
I've quadruple checked and the modules, and forms are in place. Thankfully,
nothing has disappeared here-- that I can tell.

Would someone please explain to me how to get a user form to start up?

Thank you.
Best.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,814
Default load user forms

Ok, this one is resolved.
I don't know why, but typing the names did not work, so I copied them, and
now it works.
Which is weird, because I'd copied and pasted them a few times.
Go figure.....
grrrrr.....


"Steve" wrote:

Well I thought I had this last part all figured out-- my other forms load
this way with no trouble whatsoever, but not this latest one....
argh!!!

As far as I can tell, in order to call a form from the xlam-- once the xml
code is in place-- is to create another macro, in a module, within the xlam
file.

sub userform1(control as IRibbonControl)
userform.show
end sub

this has worked on 5 other user forms that I have, but not this one.
I've quadruple checked and the modules, and forms are in place. Thankfully,
nothing has disappeared here-- that I can tell.

Would someone please explain to me how to get a user form to start up?

Thank you.
Best.

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
User Form - how to load it Balan Excel Discussion (Misc queries) 4 May 20th 08 12:39 PM
Load user form?? Mekinnik Excel Programming 1 October 5th 07 10:13 PM
Load forms from another workbook Jason Zischke Excel Programming 2 February 17th 06 02:27 AM
can i have VBA & forms etc load then unload? Chris A[_3_] Excel Programming 0 November 20th 03 11:14 PM
Excel :: Creating Entry Forms that auto load a workbook Dave Peterson[_3_] Excel Programming 0 July 25th 03 05:19 AM


All times are GMT +1. The time now is 08:48 PM.

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"