R
Rob W
Greetings,
I have code to insert current date/time into a textbox (see below)
txtEditor.SelectedText = Format(Now, "HH:mm dd/MM/yyyy") 'Insert date in the
format of "HH:mm dd/MM/yyyy")
However this transaction cannot be undone as seen with the following debug
message (returns false):-
MsgBox(txtEditor.CanUndo)
I attempted to insert date with the following code:-
txtEditor.AppendText(Format(Now, "HH:mm dd/MM/yyyy"))
Again this transaction cannot be undone with
txtEditor.undo().
Can anyone suggest how I can undo the insertion of the date into the text
box?
Thanks
Rob
I have code to insert current date/time into a textbox (see below)
txtEditor.SelectedText = Format(Now, "HH:mm dd/MM/yyyy") 'Insert date in the
format of "HH:mm dd/MM/yyyy")
However this transaction cannot be undone as seen with the following debug
message (returns false):-
MsgBox(txtEditor.CanUndo)
I attempted to insert date with the following code:-
txtEditor.AppendText(Format(Now, "HH:mm dd/MM/yyyy"))
Again this transaction cannot be undone with
txtEditor.undo().
Can anyone suggest how I can undo the insertion of the date into the text
box?
Thanks
Rob