load user forms

S

Steve

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.
 
S

Steve

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.....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top