D
David
I need to remember the focal location on a form before I execute some code,
so that I can setfocus back to that location after the code is executed.
The original focal location can be any field on the form most likely a combo
box. I tried running a command like.
currentloc = Selection.Formfields(1).Name
To save the original location.
I would like to do a .setfocus command to get back to the original location.
I can't find the exact code to make this happen. Any ideas?
Thanks,
Dave
so that I can setfocus back to that location after the code is executed.
The original focal location can be any field on the form most likely a combo
box. I tried running a command like.
currentloc = Selection.Formfields(1).Name
To save the original location.
I would like to do a .setfocus command to get back to the original location.
I can't find the exact code to make this happen. Any ideas?
Thanks,
Dave