I have a multipage userform (currently only two pages but I intend to add more). The form is opened from different worksheets using different Command Buttons. I want to be able to open the form at Page 0 if one Command Button is clicked and at Page 1 if a second Command Button is clicked. I have tried putting MultiPage1 = 0 or = 1 in the code for the relevant button but the form always opens on Page 1. Is there a way to do this? I tried adapting the code from http://www.ozgrid.com/forum/showthread.php?t=23932
but the line
causes a problem
but the line
Code:
Public strMacro As String