Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Project 2007 - VBA Detect if field is in edit mode and save the edit

$
0
0
I have a macro which runs and updates fields. The problem is if the person is editing a field and still in the field (still has focus) and then runs the macro I get a run time error 1100 - this method is not available in this situation. The line in the macro that has a problem is SelectAll and I think it is due to the fact a field is being edited while it is trying to SelectAll. How do I tell if a field is being edited and then remove the 'edit mode' for the field?

Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>