make VbA invisible

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi:

When I try to open a workbook by using automation, VBA Console gets open too.

I don't want the user to see vba code written on ThisWorkbook module.

What should I do?

Thank you.

Rick.
 
Thank you Norman. I works fine.
Just a word to the others:

You should use
Application.VBE.MainWindow.Visible = False

AFTER any code that uses VBProject in Excel.

bye.

Rick.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top