View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Charles Chickering Charles Chickering is offline
external usenet poster
 
Posts: 272
Default Run a UserForm in the middle of a Macro

Sub YourMacro()
'code before userform
UserForm1.Show
'code after userform
end sub
--
Charles Chickering

"A good example is twice the value of good advice."


"Astello" wrote:

I'm having problems with coding how to run a UserForm while in the
middle of a Macro that already exists. The UserForm is called
"UserForm1". This seems like it would be simple but I am lost.