Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default Excel Worksheets

When I open a specific Excel workbook, the title bar
shows "Microsoft Excel - worksheet_name.xls:2". There is
only one worksheet window, why the ":2". If you close the
worksheet, Excel does not close. There is VBA code
associated with the worksheet which remains open.
I an using Excel 2000 with Windows XP.
Thanks for any help.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default Excel Worksheets

Brian,

the "xls:2" means that there is indeed another window. Maybe it is hidden.
Try WindowUnhide (I think it's called that). Then close one of the windows, save the file and you'll be OK,

HTH
Anders Silvén


"Brian" skrev i meddelandet ...
When I open a specific Excel workbook, the title bar
shows "Microsoft Excel - worksheet_name.xls:2". There is
only one worksheet window, why the ":2". If you close the
worksheet, Excel does not close. There is VBA code
associated with the worksheet which remains open.
I an using Excel 2000 with Windows XP.
Thanks for any help.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default Excel Worksheets

Anders,

It is not due to a hidden worksheet. I unhid all hidden
worksheets to check. If you select "Windows" on the menu
bar the drop down menu only shows one worksheet, which if
selected is "xls:2".

Thanks,
Brian
-----Original Message-----
Brian,

the "xls:2" means that there is indeed another window.

Maybe it is hidden.
Try WindowUnhide (I think it's called that). Then close

one of the windows, save the file and you'll be OK,

HTH
Anders Silvén


"Brian" skrev i

meddelandet ...
When I open a specific Excel workbook, the title bar
shows "Microsoft Excel - worksheet_name.xls:2". There

is
only one worksheet window, why the ":2". If you close

the
worksheet, Excel does not close. There is VBA code
associated with the worksheet which remains open.
I an using Excel 2000 with Windows XP.
Thanks for any help.

.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Excel Worksheets

apparently you have two windows for the workbook, but one of the windows is
hidden. Make worksheet_name.xls:2 as the active window

in the workbook put this code

sub showWindows
for each wd in ActiveWorkbook.windows
wd.Visible = True
Next
End Sub

and run it

or simply go to the Windows menu and choose unhide, then select
worksheet_name.xls:1

--
Regards,
Tom Ogilvy

"Brian" wrote in message
...
When I open a specific Excel workbook, the title bar
shows "Microsoft Excel - worksheet_name.xls:2". There is
only one worksheet window, why the ":2". If you close the
worksheet, Excel does not close. There is VBA code
associated with the worksheet which remains open.
I an using Excel 2000 with Windows XP.
Thanks for any help.



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default Excel Worksheets

Hmmm...

Beats me what it is. Let's hope for the gurus to cut in :)

Anders

"Brian" skrev i meddelandet ...
Anders,

It is not due to a hidden worksheet. I unhid all hidden
worksheets to check. If you select "Windows" on the menu
bar the drop down menu only shows one worksheet, which if
selected is "xls:2".

Thanks,
Brian
-----Original Message-----
Brian,

the "xls:2" means that there is indeed another window.

Maybe it is hidden.
Try WindowUnhide (I think it's called that). Then close

one of the windows, save the file and you'll be OK,

HTH
Anders Silvén


"Brian" skrev i

meddelandet ...
When I open a specific Excel workbook, the title bar
shows "Microsoft Excel - worksheet_name.xls:2". There

is
only one worksheet window, why the ":2". If you close

the
worksheet, Excel does not close. There is VBA code
associated with the worksheet which remains open.
I an using Excel 2000 with Windows XP.
Thanks for any help.

.



  #6   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Excel Worksheets

Tom,

Thanks it worked.

Brian
-----Original Message-----
apparently you have two windows for the workbook, but

one of the windows is
hidden. Make worksheet_name.xls:2 as the active window

in the workbook put this code

sub showWindows
for each wd in ActiveWorkbook.windows
wd.Visible = True
Next
End Sub

and run it

or simply go to the Windows menu and choose unhide, then

select
worksheet_name.xls:1

--
Regards,
Tom Ogilvy

"Brian" wrote in

message
...
When I open a specific Excel workbook, the title bar
shows "Microsoft Excel - worksheet_name.xls:2". There

is
only one worksheet window, why the ":2". If you close

the
worksheet, Excel does not close. There is VBA code
associated with the worksheet which remains open.
I an using Excel 2000 with Windows XP.
Thanks for any help.



.

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default Excel Worksheets

Tom,

The OP doesn't say what did it, wd.Visible = True, or WindowsUnhide (which I first suggested).

I just wonder if there may be a window property that will hide the window from WindowsUnhide, but still make the window accessible from VBA?

Best regards,
Anders Silvén


skrev i meddelandet ...
Tom,

Thanks it worked.

Brian
-----Original Message-----
apparently you have two windows for the workbook, but

one of the windows is
hidden. Make worksheet_name.xls:2 as the active window

in the workbook put this code

sub showWindows
for each wd in ActiveWorkbook.windows
wd.Visible = True
Next
End Sub

and run it

or simply go to the Windows menu and choose unhide, then

select
worksheet_name.xls:1

--
Regards,
Tom Ogilvy

"Brian" wrote in

message
...
When I open a specific Excel workbook, the title bar
shows "Microsoft Excel - worksheet_name.xls:2". There

is
only one worksheet window, why the ":2". If you close

the
worksheet, Excel does not close. There is VBA code
associated with the worksheet which remains open.
I an using Excel 2000 with Windows XP.
Thanks for any help.



.

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
Unable to save modified Excel 2003 worksheets using Excel 2007 vkeller Excel Discussion (Misc queries) 0 May 9th 08 10:38 PM
How use info in Excel shared worksheets to create new worksheets dkc Excel Worksheet Functions 0 June 28th 07 08:36 PM
Weird problem with Excel 2000...Worksheets disappearing in a shared Excel file BrianL_SF Excel Discussion (Misc queries) 2 October 10th 06 08:27 PM
Assigning Cells in worksheets to other data in other worksheets. David McRitchie Excel Discussion (Misc queries) 0 November 27th 04 06:15 PM
Need code to protect worksheets - amount of worksheets varies Sandy[_3_] Excel Programming 1 September 9th 03 02:17 AM


All times are GMT +1. The time now is 06:03 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"