Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,069
Default why, when i open a work sheet does a blank sheet open as well

any answers?
  #2   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default why, when i open a work sheet does a blank sheet open as well

More details?

"John" wrote:

any answers?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default why, when i open a work sheet does a blank sheet open as well

You might want to try the reverse of this, when you get to the Objects,
delete the code if it exists

John



From Excel, hit Alt-F11 to open the VBE. On the left side is the Project
Explorer. One of the project listed should be Personal.xls. Expand the
project if necessary and open the folder called Microsoft Excel Objects. In
that folder, there is an object called ThisWorkbook. Double click that and
it will open a code pane for that module. At the top of that code pane,
there are two drop down boxes. From the left one, select Workbook and from
the right select Open (it may select that for you automatically). This will
put the Sub and End Sub statement in the code pane. You type in the rest of
the code.

The ThisWorkbook module is actually a special kind of Class Module. It
already has all the class information coded into it, so you have access to
all of the events.





"John" wrote in message
...
any answers?



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
When I open Excel I want it to open on Sheet 1 traveye Excel Discussion (Misc queries) 7 January 24th 07 12:03 AM
excel 2003 saved file will not open without a blank workbook open Bob Excel Discussion (Misc queries) 4 November 11th 06 04:24 PM
How to open a work spreed sheet Liquwa Excel Worksheet Functions 1 June 27th 06 04:46 AM
Search open sheets in workbook and insert into open sheet punx77 Excel Discussion (Misc queries) 0 March 6th 06 05:07 PM
open at define work sheet kit Excel Discussion (Misc queries) 3 October 23rd 05 03:57 PM


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