View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Soniya Soniya is offline
external usenet poster
 
Posts: 48
Default Use same UserForm

Hi all,

Is it possible to use the same UserForm for several
actions?
For eg. I have a userform with a TextBox and Two
commandButons "OK" and "Cancel"

I am using several macros in which the action when
clicking OK button is different but the design of the
UserForm is same. so in order to perfom these action I
have created several UserFoms which look like the same.

Is there a way that i can use the same userfom and
perform the action based on the sub routine from which it
is called?

TIA
Soniya