WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Hidden Tabs appear when I reopen the file

 
Goto page 1, 2
   Home -> Office -> Setup RSS
Next:  Politics  
Author Message
Brenda

External


Since: Jul 28, 2004
Posts: 124



(Msg. 1) Posted: Wed Oct 22, 2008 8:42 am
Post subject: Hidden Tabs appear when I reopen the file
Archived from groups: microsoft>public>excel>setup (more info?)

I am working in Excel 2003. I am not the designer of the program and there
are a lot of formulas, links etc in this program. However, i have placed
buttons from the forms toolbar and hide the tabs located at the bottom. In
otherwords they click on the bottom and it brings up the tab i hide and on
that page another button that says take back to the home page and hides that
tab again. My problem is when i close out the program and go back in the tabs
are back at the bottom and i have to hide them to make the buttons work. How
can i get them to stay hidden when the program is opened.
--
Thank you, Brenda
Back to top
Login to vote
Dave Peterson

External


Since: Jul 08, 2005
Posts: 9380



(Msg. 2) Posted: Wed Oct 22, 2008 1:17 pm
Post subject: Re: Hidden Tabs appear when I reopen the file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

When I hide the tabs in xl2003 and save the workbook with that window's tabs
hidden, then the tabs are hidden when I reopen the workbook.

I don't have a guess why they're shown for you.

But maybe you could add a line in your workbook_open procedure to hide the tabs:

Me.DisplayWorkbookTabs = False

(Me refers to the object that owns the code--in this case, it's the workbook
itself.)



Brenda wrote:
>
> I am working in Excel 2003. I am not the designer of the program and there
> are a lot of formulas, links etc in this program. However, i have placed
> buttons from the forms toolbar and hide the tabs located at the bottom. In
> otherwords they click on the bottom and it brings up the tab i hide and on
> that page another button that says take back to the home page and hides that
> tab again. My problem is when i close out the program and go back in the tabs
> are back at the bottom and i have to hide them to make the buttons work. How
> can i get them to stay hidden when the program is opened.
> --
> Thank you, Brenda

--

Dave Peterson
Back to top
Login to vote
Brenda

External


Since: Jul 28, 2004
Posts: 124



(Msg. 3) Posted: Wed Oct 22, 2008 1:17 pm
Post subject: Re: Hidden Tabs appear when I reopen the file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Did you see the code i posted before your response? Any clue with all of
those codes i didn't enter those they were there when i got this program
should i enter the code you mentioned at the end of what i pasted below.
--
Thank you, Brenda


"Dave Peterson" wrote:

> When I hide the tabs in xl2003 and save the workbook with that window's tabs
> hidden, then the tabs are hidden when I reopen the workbook.
>
> I don't have a guess why they're shown for you.
>
> But maybe you could add a line in your workbook_open procedure to hide the tabs:
>
> Me.DisplayWorkbookTabs = False
>
> (Me refers to the object that owns the code--in this case, it's the workbook
> itself.)
>
>
>
> Brenda wrote:
> >
> > I am working in Excel 2003. I am not the designer of the program and there
> > are a lot of formulas, links etc in this program. However, i have placed
> > buttons from the forms toolbar and hide the tabs located at the bottom. In
> > otherwords they click on the bottom and it brings up the tab i hide and on
> > that page another button that says take back to the home page and hides that
> > tab again. My problem is when i close out the program and go back in the tabs
> > are back at the bottom and i have to hide them to make the buttons work. How
> > can i get them to stay hidden when the program is opened.
> > --
> > Thank you, Brenda
>
> --
>
> Dave Peterson
>
Back to top
Login to vote
Dave Peterson

External


Since: Jul 08, 2005
Posts: 9380



(Msg. 4) Posted: Wed Oct 22, 2008 1:47 pm
Post subject: Re: Hidden Tabs appear when I reopen the file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I saw the code and didn't notice anything in there that would change the
visibility of the tabs.

But there were lots of calls to a couple of macros that may do something that
you didn't share.

Try looking through those procedures to see if you have any
"DisplayWorkbookTabs" in them.

Heck, maybe searching the entire workbook's project for that would be
worthwhile.

=====
But if you want to take the easy route (I would!)...

Just try:

....
loadWorkbook
Me.DisplayWorkbookTabs = False
End Sub

But I don't know what LoadWorkbook does. Maybe that line of code really belongs
in that procedure????



Brenda wrote:
>
> Did you see the code i posted before your response? Any clue with all of
> those codes i didn't enter those they were there when i got this program
> should i enter the code you mentioned at the end of what i pasted below.
> --
> Thank you, Brenda
>
> "Dave Peterson" wrote:
>
> > When I hide the tabs in xl2003 and save the workbook with that window's tabs
> > hidden, then the tabs are hidden when I reopen the workbook.
> >
> > I don't have a guess why they're shown for you.
> >
> > But maybe you could add a line in your workbook_open procedure to hide the tabs:
> >
> > Me.DisplayWorkbookTabs = False
> >
> > (Me refers to the object that owns the code--in this case, it's the workbook
> > itself.)
> >
> >
> >
> > Brenda wrote:
> > >
> > > I am working in Excel 2003. I am not the designer of the program and there
> > > are a lot of formulas, links etc in this program. However, i have placed
> > > buttons from the forms toolbar and hide the tabs located at the bottom. In
> > > otherwords they click on the bottom and it brings up the tab i hide and on
> > > that page another button that says take back to the home page and hides that
> > > tab again. My problem is when i close out the program and go back in the tabs
> > > are back at the bottom and i have to hide them to make the buttons work. How
> > > can i get them to stay hidden when the program is opened.
> > > --
> > > Thank you, Brenda
> >
> > --
> >
> > Dave Peterson
> >

--

Dave Peterson
Back to top
Login to vote
Brenda

External


Since: Jul 28, 2004
Posts: 124



(Msg. 5) Posted: Wed Oct 22, 2008 1:47 pm
Post subject: Re: Hidden Tabs appear when I reopen the file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

how would i bring up the entire worksheet projects?
--
Thank you, Brenda


"Dave Peterson" wrote:

> I saw the code and didn't notice anything in there that would change the
> visibility of the tabs.
>
> But there were lots of calls to a couple of macros that may do something that
> you didn't share.
>
> Try looking through those procedures to see if you have any
> "DisplayWorkbookTabs" in them.
>
> Heck, maybe searching the entire workbook's project for that would be
> worthwhile.
>
> =====
> But if you want to take the easy route (I would!)...
>
> Just try:
>
> ....
> loadWorkbook
> Me.DisplayWorkbookTabs = False
> End Sub
>
> But I don't know what LoadWorkbook does. Maybe that line of code really belongs
> in that procedure????
>
>
>
> Brenda wrote:
> >
> > Did you see the code i posted before your response? Any clue with all of
> > those codes i didn't enter those they were there when i got this program
> > should i enter the code you mentioned at the end of what i pasted below.
> > --
> > Thank you, Brenda
> >
> > "Dave Peterson" wrote:
> >
> > > When I hide the tabs in xl2003 and save the workbook with that window's tabs
> > > hidden, then the tabs are hidden when I reopen the workbook.
> > >
> > > I don't have a guess why they're shown for you.
> > >
> > > But maybe you could add a line in your workbook_open procedure to hide the tabs:
> > >
> > > Me.DisplayWorkbookTabs = False
> > >
> > > (Me refers to the object that owns the code--in this case, it's the workbook
> > > itself.)
> > >
> > >
> > >
> > > Brenda wrote:
> > > >
> > > > I am working in Excel 2003. I am not the designer of the program and there
> > > > are a lot of formulas, links etc in this program. However, i have placed
> > > > buttons from the forms toolbar and hide the tabs located at the bottom. In
> > > > otherwords they click on the bottom and it brings up the tab i hide and on
> > > > that page another button that says take back to the home page and hides that
> > > > tab again. My problem is when i close out the program and go back in the tabs
> > > > are back at the bottom and i have to hide them to make the buttons work. How
> > > > can i get them to stay hidden when the program is opened.
> > > > --
> > > > Thank you, Brenda
> > >
> > > --
> > >
> > > Dave Peterson
> > >
>
> --
>
> Dave Peterson
>
Back to top
Login to vote
Brenda

External


Since: Jul 28, 2004
Posts: 124



(Msg. 6) Posted: Wed Oct 22, 2008 1:47 pm
Post subject: Re: Hidden Tabs appear when I reopen the file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Dave sorry to be a pain your suggestion worked. however when i went onto
other worksheets in the same document and clicked on the buttons they gave me
an error
compile error in hidden module when it first brings up the file i get the
same error any suggestions?
--
Thank you, Brenda


"Dave Peterson" wrote:

> I saw the code and didn't notice anything in there that would change the
> visibility of the tabs.
>
> But there were lots of calls to a couple of macros that may do something that
> you didn't share.
>
> Try looking through those procedures to see if you have any
> "DisplayWorkbookTabs" in them.
>
> Heck, maybe searching the entire workbook's project for that would be
> worthwhile.
>
> =====
> But if you want to take the easy route (I would!)...
>
> Just try:
>
> ....
> loadWorkbook
> Me.DisplayWorkbookTabs = False
> End Sub
>
> But I don't know what LoadWorkbook does. Maybe that line of code really belongs
> in that procedure????
>
>
>
> Brenda wrote:
> >
> > Did you see the code i posted before your response? Any clue with all of
> > those codes i didn't enter those they were there when i got this program
> > should i enter the code you mentioned at the end of what i pasted below.
> > --
> > Thank you, Brenda
> >
> > "Dave Peterson" wrote:
> >
> > > When I hide the tabs in xl2003 and save the workbook with that window's tabs
> > > hidden, then the tabs are hidden when I reopen the workbook.
> > >
> > > I don't have a guess why they're shown for you.
> > >
> > > But maybe you could add a line in your workbook_open procedure to hide the tabs:
> > >
> > > Me.DisplayWorkbookTabs = False
> > >
> > > (Me refers to the object that owns the code--in this case, it's the workbook
> > > itself.)
> > >
> > >
> > >
> > > Brenda wrote:
> > > >
> > > > I am working in Excel 2003. I am not the designer of the program and there
> > > > are a lot of formulas, links etc in this program. However, i have placed
> > > > buttons from the forms toolbar and hide the tabs located at the bottom. In
> > > > otherwords they click on the bottom and it brings up the tab i hide and on
> > > > that page another button that says take back to the home page and hides that
> > > > tab again. My problem is when i close out the program and go back in the tabs
> > > > are back at the bottom and i have to hide them to make the buttons work. How
> > > > can i get them to stay hidden when the program is opened.
> > > > --
> > > > Thank you, Brenda
> > >
> > > --
> > >
> > > Dave Peterson
> > >
>
> --
>
> Dave Peterson
>
Back to top
Login to vote
Dave Peterson

External


Since: Jul 08, 2005
Posts: 9380



(Msg. 7) Posted: Wed Oct 22, 2008 4:33 pm
Post subject: Re: Hidden Tabs appear when I reopen the file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Glad you got part of your problem fixed.

I'm not sure when you get the error.

Do you get it when you open the workbook with the change you just made?

If yes, then maybe you changed something that you shouldn't have.

If you're getting the error when you click on the button, then it's not this
changed that caused the trouble. If the tabs or hidden or shown, the code
would work (or blow up) the same way.

To help debug the problem, you're going to have to find the workbook that's
causing the trouble. Then unprotect that workbook's project (in the VBE). And
save that (as a new copy).

Then close and reopen that new workbook. The project won't be protected, so
you'll get an option to debug. And that should point at the line of code that
caused the trouble.

Then fix that workbook and test it out. If it works fine, you can save as the
old name -- or fix the real workbook's project.


Brenda wrote:
>
> Dave sorry to be a pain your suggestion worked. however when i went onto
> other worksheets in the same document and clicked on the buttons they gave me
> an error
> compile error in hidden module when it first brings up the file i get the
> same error any suggestions?
> --
> Thank you, Brenda
>
> "Dave Peterson" wrote:
>
> > I saw the code and didn't notice anything in there that would change the
> > visibility of the tabs.
> >
> > But there were lots of calls to a couple of macros that may do something that
> > you didn't share.
> >
> > Try looking through those procedures to see if you have any
> > "DisplayWorkbookTabs" in them.
> >
> > Heck, maybe searching the entire workbook's project for that would be
> > worthwhile.
> >
> > =====
> > But if you want to take the easy route (I would!)...
> >
> > Just try:
> >
> > ....
> > loadWorkbook
> > Me.DisplayWorkbookTabs = False
> > End Sub
> >
> > But I don't know what LoadWorkbook does. Maybe that line of code really belongs
> > in that procedure????
> >
> >
> >
> > Brenda wrote:
> > >
> > > Did you see the code i posted before your response? Any clue with all of
> > > those codes i didn't enter those they were there when i got this program
> > > should i enter the code you mentioned at the end of what i pasted below.
> > > --
> > > Thank you, Brenda
> > >
> > > "Dave Peterson" wrote:
> > >
> > > > When I hide the tabs in xl2003 and save the workbook with that window's tabs
> > > > hidden, then the tabs are hidden when I reopen the workbook.
> > > >
> > > > I don't have a guess why they're shown for you.
> > > >
> > > > But maybe you could add a line in your workbook_open procedure to hide the tabs:
> > > >
> > > > Me.DisplayWorkbookTabs = False
> > > >
> > > > (Me refers to the object that owns the code--in this case, it's the workbook
> > > > itself.)
> > > >
> > > >
> > > >
> > > > Brenda wrote:
> > > > >
> > > > > I am working in Excel 2003. I am not the designer of the program and there
> > > > > are a lot of formulas, links etc in this program. However, i have placed
> > > > > buttons from the forms toolbar and hide the tabs located at the bottom. In
> > > > > otherwords they click on the bottom and it brings up the tab i hide and on
> > > > > that page another button that says take back to the home page and hides that
> > > > > tab again. My problem is when i close out the program and go back in the tabs
> > > > > are back at the bottom and i have to hide them to make the buttons work. How
> > > > > can i get them to stay hidden when the program is opened.
> > > > > --
> > > > > Thank you, Brenda
> > > >
> > > > --
> > > >
> > > > Dave Peterson
> > > >
> >
> > --
> >
> > Dave Peterson
> >

--

Dave Peterson
Back to top
Login to vote
Roger Govier

External


Since: Nov 28, 2007
Posts: 1157



(Msg. 8) Posted: Wed Oct 22, 2008 6:11 pm
Post subject: Re: Hidden Tabs appear when I reopen the file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Brenda

Show the code you are using to do this, and somebody may be able to help.

--
Regards
Roger Govier

"Brenda" <Brenda DeleteThis @discussions.microsoft.com> wrote in message
news:337D2121-93AC-4401-B8EB-E5F47EB82777@microsoft.com...
> I am working in Excel 2003. I am not the designer of the program and there
> are a lot of formulas, links etc in this program. However, i have placed
> buttons from the forms toolbar and hide the tabs located at the bottom. In
> otherwords they click on the bottom and it brings up the tab i hide and on
> that page another button that says take back to the home page and hides
> that
> tab again. My problem is when i close out the program and go back in the
> tabs
> are back at the bottom and i have to hide them to make the buttons work.
> How
> can i get them to stay hidden when the program is opened.
> --
> Thank you, Brenda
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Setup All times are: Eastern Time (US & Canada) (change)
Goto page 1, 2
Page 1 of 2

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET |
  • IT Support