S
SpookiePower
I have these two public sub on my main form that can undo changes
to my textboxes.
Public Sub btnUndo_Click()
Public Sub UndoEdits()
code and it works just fine.
I also have a subform on my main form that I want to undo changes
on, using the UndoEdits().
I have made both the subs to Public, But how do I call UndoEdits() from
my subform ?
I have tryed to write it this way -
Form_NameOfTheForm.NameOfTheVBAProcedure
In my case Form_slukkeresubform.UndoEdits
But nothing happends. What's wrong ?
to my textboxes.
Public Sub btnUndo_Click()
Public Sub UndoEdits()
From my textboxes (afterupdate) on the main form I call the UndoEdits()
code and it works just fine.
I also have a subform on my main form that I want to undo changes
on, using the UndoEdits().
I have made both the subs to Public, But how do I call UndoEdits() from
my subform ?
I have tryed to write it this way -
Form_NameOfTheForm.NameOfTheVBAProcedure
In my case Form_slukkeresubform.UndoEdits
But nothing happends. What's wrong ?