If you try, you'll have to rely on Sendkeys.
Here's a Ron de Bruin post of a Bill Manville macro:
http://google.co.uk/groups?threadm=u...GP09.phx .gbl
I wouldn't rely on this.
Don Wiss wrote:
Can I password protect VBA modules using a macro? I use a macro to prep
the workbook for release. It would be nice if password protecting the
modules could be part of this prepping routine.
Don <www.donwiss.com (e-mail link at home page bottom).
--
Dave Peterson