Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default make VbA invisible

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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default make VbA invisible

Hi Rick,

Try:

Application.VBE.MainWindow.Visible = False


---
Regards,
Norman


"newbie in hell" wrote in message
...
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.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default make VbA invisible

Not really sure what you are meaning

"newbie in hell" wrote:

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.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default make VbA invisible

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.

"Norman Jones" wrote:

Hi Rick,

Try:

Application.VBE.MainWindow.Visible = False


---
Regards,
Norman


"newbie in hell" wrote in message
...
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.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How Invisible Can You Make Your Code??? Chuckles123[_88_] Excel Programming 5 July 22nd 05 06:51 PM
Make counter invisible hotherps[_6_] Excel Programming 2 January 17th 04 04:23 PM
How to run macros and make the workbooks invisible christine Excel Programming 6 January 9th 04 04:26 AM
How to make the Toolbar Invisible through VBA Atif Akbar[_2_] Excel Programming 2 December 11th 03 06:55 AM
Make one column Invisible. Neeraja Excel Programming 5 September 29th 03 02:58 AM


All times are GMT +1. The time now is 08:40 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"