Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default no sheet in workbook

Hi,

I would like to have a workbook with no sheet at the beginning.
for now, i have at least 1 sheet.
How can i do to force my actual workbook (thisworkbook) to have no sheet
when it starts ?

when I open my workbook, it displays automatically the main form.

ALain
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default no sheet in workbook

Alain,
You cannot.
It must have at least 1 sheet, although the sheet can be a Chart or Macro
sheet instead of a Worksheet.

NickHK

"--== Alain ==--" wrote in message
...
Hi,

I would like to have a workbook with no sheet at the beginning.
for now, i have at least 1 sheet.
How can i do to force my actual workbook (thisworkbook) to have no sheet
when it starts ?

when I open my workbook, it displays automatically the main form.

ALain



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default no sheet in workbook

What is the reason for needing that? I ask as there may be an alternative
solution as you can't have 0 sheets as Nick points out.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"--== Alain ==--" wrote in message
...
Hi,

I would like to have a workbook with no sheet at the beginning.
for now, i have at least 1 sheet.
How can i do to force my actual workbook (thisworkbook) to have no sheet
when it starts ?

when I open my workbook, it displays automatically the main form.

ALain



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 179
Default no sheet in workbook

Hi Alain

what you could do is this:

'--------------------------------
Private Sub Workbook_Open()
ActiveWindow.Visible = False
End Sub
'--------------------------------
But as the other stated, i don't know why would want
to have that!

Cheers Carlo

PS: Don't forget to set it to visible again afterwards

"--== Alain ==--" wrote:

Hi,

I would like to have a workbook with no sheet at the beginning.
for now, i have at least 1 sheet.
How can i do to force my actual workbook (thisworkbook) to have no sheet
when it starts ?

when I open my workbook, it displays automatically the main form.

ALain

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default no sheet in workbook

or...


if you have a form - you could make it modal and have the sheet sized
and hidden behind it?


Hi,

I would like to have a workbook with no sheet at the beginning.
for now, i have at least 1 sheet.
How can i do to force my actual workbook (thisworkbook) to have no

sheet
when it starts ?

when I open my workbook, it displays automatically the main form.

ALain




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default no sheet in workbook

the reason is that in my main form i display all existing sheets.
therefore as minimum 1 sheet must be available i need to hide it from
user's eyes.

for that, i can delete it or hide it via a command.
as i did not find a command which can hide it, i was thinking to delete it.

Bob Phillips wrote:
What is the reason for needing that? I ask as there may be an alternative
solution as you can't have 0 sheets as Nick points out.

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
Copy sheet cells into differnt workbook/sheet, How? IVLUTA Excel Discussion (Misc queries) 2 June 2nd 09 11:16 PM
Copying data from workbook/sheets to another workbook/sheet yukon_phil Excel Programming 0 July 26th 06 07:33 PM
Select sheet tabs in workbook & save to separate workbook files stratocaster Excel Worksheet Functions 2 March 1st 06 03:35 PM
Copy Sheet from One workbook to another EXISTING workbook Ken Soenen Excel Programming 0 February 12th 06 04:07 PM
automatic copy and paste from sheet to sheet in a workbook ramseyjramseyj Excel Programming 6 December 11th 04 12:37 AM


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