Resume code execution after displaying modal form

V

Vaughan

How do I resume code execution after displaying a modal form?

Sub CommandButton1_Click
Set myNewItem= Foldr.Items.Add(strActionFormName) ' Creates new item
myNewItem.Display(True) '
Displays new item

' modally
remaining_code.execute '
Does not happen...
End Sub

Is it possible?

Thanks

Vaughan
 
V

Vaughan

Well, I have (sort of) got this to work now. The code seems to perform
differently depending on how the form is launched. I don't understand it, but
I think I can make it work anyway.

Vaughan
 
Top