Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default How make Module remember closed status in VBE?

How can I get a workbook to reliably save the Open or Closed status of
its VBA Modules in the VBE? I use Ctrl+F6 to cycle among the Modules
I'm editing, and I want some of them to not keep popping up.

I've had some success making a token edit, closing the unwanted Module,
and then saving the Workbook. In most cases, the Module is still
closed the next time I open the Workbook and open the VBE. But in some
cases this doesn't work, and there's the open Module again each time I
open the Workbook.

(Actually, in the instance that's annoying me right now, it's the
"ThisWorkbook" object.)

Excel 2000, Windows 2000

Dan Williams
danwPlanet

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default How make Module remember closed status in VBE?

Whoops, I may have figured it out. When I save, the cursor apparently
has to be in the Module window, whereas sometimes I had it in the
Project Explorer window (because I had also wanted to collapse the
Module there).

A secondary question is, how can I save the collapsed status. The same
rules seem to apply. I have to have the cursor in the Project Explorer
window to save that status, and I have to have edited the Project
Explorer list, e.g., inserting a dummy module. Sheesh. A cleaner way
would be nice if you know of one.

Dan Williams

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default How make Module remember closed status in VBE?

If you protect the project with a simple password, it won't be expanded (until
you want).

Dan Williams wrote:

Whoops, I may have figured it out. When I save, the cursor apparently
has to be in the Module window, whereas sometimes I had it in the
Project Explorer window (because I had also wanted to collapse the
Module there).

A secondary question is, how can I save the collapsed status. The same
rules seem to apply. I have to have the cursor in the Project Explorer
window to save that status, and I have to have edited the Project
Explorer list, e.g., inserting a dummy module. Sheesh. A cleaner way
would be nice if you know of one.

Dan Williams


--

Dave Peterson
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
is there a way to make graphic indicators of status ricky[_3_] Excel Discussion (Misc queries) 1 March 25th 10 09:36 AM
How can I make the status bar to be displayed as default? Aragorn Excel Discussion (Misc queries) 2 October 24th 09 05:59 PM
How do I make the status bar bigger? Brian Excel Worksheet Functions 1 October 13th 08 10:13 PM
how do i make Excel 'remember' the custom formatting? hirendra7158 Setting up and Configuration of Excel 1 November 26th 07 05:28 PM
Make "Insert Hyperlink" remember the last location [email protected] Links and Linking in Excel 1 May 27th 06 12:40 AM


All times are GMT +1. The time now is 10:28 AM.

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

About Us

"It's about Microsoft Excel"