S
src
Hi there,
I have a routine that opens a new document based on a template.
This template has an autonew macro that shows a userform. Normally
this is exactly what I want from this template. But when it's opened
from another document, I'd like to bypass the userform.
Is there a way to skip the userform altogether? If not, is there a
way to automatically close it once it opens?
I've tried sending a simple SendKeys "{ESC}", True, but it appears
that userforms don't respond to this and it won't execute until after
the form is (manually) closed.
THANKS
I have a routine that opens a new document based on a template.
This template has an autonew macro that shows a userform. Normally
this is exactly what I want from this template. But when it's opened
from another document, I'd like to bypass the userform.
Is there a way to skip the userform altogether? If not, is there a
way to automatically close it once it opens?
I've tried sending a simple SendKeys "{ESC}", True, but it appears
that userforms don't respond to this and it won't execute until after
the form is (manually) closed.
THANKS