kelly mort
Well-known Member
- Joined
- Apr 10, 2017
- Messages
- 2,169
- Office Version
- 2016
- Platform
- Windows
In a post solved for me here by @Jaafar Tribak I used the computer’s system inactivity to display an inputBox where a user must enter certain credentials to get access to the userform again.
It’s working very great. But there has been new developments and I need help to take care of that.
As pointed out by @Jaafar Tribak the code works for modeless forms - which I have no problem with.
But I do have problems with inputBoxes. That is when an inputBox is active, that prevents @Jaafar Tribak code from running no matter how long the waiting period is.
Then it occurred to me that if I could find a way to close objects or processes such as those for message boxes, inputBoxes and the others, then I would be able to get the Sub running smoothly for me.
And the tricky part is that even if I find an easy way to close message boxes and inputBoxes, that would still present a bigger problem because I would also end up closing the input box I am using to restrict access to the userform.
So I am thinking of a way to id that inputBox so that when it comes to closing them, I will exclude that one.
But I have not been able to come up with anything yet.
For the message boxes, I have scripts from multiple sources that do that.
Could someone please help me out here?
Thanks in advance.
It’s working very great. But there has been new developments and I need help to take care of that.
As pointed out by @Jaafar Tribak the code works for modeless forms - which I have no problem with.
But I do have problems with inputBoxes. That is when an inputBox is active, that prevents @Jaafar Tribak code from running no matter how long the waiting period is.
Then it occurred to me that if I could find a way to close objects or processes such as those for message boxes, inputBoxes and the others, then I would be able to get the Sub running smoothly for me.
And the tricky part is that even if I find an easy way to close message boxes and inputBoxes, that would still present a bigger problem because I would also end up closing the input box I am using to restrict access to the userform.
So I am thinking of a way to id that inputBox so that when it comes to closing them, I will exclude that one.
But I have not been able to come up with anything yet.
For the message boxes, I have scripts from multiple sources that do that.
Could someone please help me out here?
Thanks in advance.