Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding Code to Excel

Status
Not open for further replies.

StarPassing

Programmer
Oct 21, 2001
109
US
I am placing code in Excel from Access using Application.VBProject.VBComponents and all works well, but Excel pops a dialog box saying “This action will reset your project, proceed anyway?”.

I’ve tried DispalyAlerts=False and EnableEvents = True, but nothing works.

Any ideas?
 
Found it. I was deleting the Option Explicit statement before I poked-in my code. Thus, forcing a project reset.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top