S
Stefi
Hi All,
I tried to use (in XL2003)
SendKeys "%{F11}", True
to open VBE window, but it had no effect. In fact my real aim was
SendKeys "%{F11}%TE+{TAB}{RIGHT}%V{+}{TAB}" & Password & "{TAB}" & Password
& "~%{F11}", True
to set VBA project password. I found out that "%{F11}" part doesn't work. If
I previously open VBE window manually with Alt+F11, the remaining part sets
the password. Any advice?
Thanks,
Stefi
I tried to use (in XL2003)
SendKeys "%{F11}", True
to open VBE window, but it had no effect. In fact my real aim was
SendKeys "%{F11}%TE+{TAB}{RIGHT}%V{+}{TAB}" & Password & "{TAB}" & Password
& "~%{F11}", True
to set VBA project password. I found out that "%{F11}" part doesn't work. If
I previously open VBE window manually with Alt+F11, the remaining part sets
the password. Any advice?
Thanks,
Stefi