#1   Report Post  
Steve
 
Posts: n/a
Default Another Excel oddity

Hi,

I hope everyone had a good New Year.

My Excel is really being strange at the moment. Amongst other things,
when I save a current project, the visible worksheet changes from what
I want to a different one in the workbook.
Can anyone tell me why this is, please?

Thanks

Steve

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Steve,

Could there be some event code in the workbook that activates the specific
sheet?

Go into the VBE (Alt-F11), make sure the project explorer is up (Ctrl-R),
select your workbook, make sure it is fully expanded (+/- sign), make sure
the Microsoft Excel Objects is fully expanded (+/- sign) and click
THisWorkbook. Check if there is code there.


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Steve" wrote in message
oups.com...
Hi,

I hope everyone had a good New Year.

My Excel is really being strange at the moment. Amongst other things,
when I save a current project, the visible worksheet changes from what
I want to a different one in the workbook.
Can anyone tell me why this is, please?

Thanks

Steve



  #3   Report Post  
Steve
 
Posts: n/a
Default

Thanks for replying, Bob.

I'd already thought to look at that, and no, there's nothing there.
(There was, but it was an empty Worksheet_Open() event, which I've now
removed)

Steve

  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

If you open the workbook with macros disabled (change the security setting
before you open the workbook), do you still get the same thing?

If no, then maybe you missed some code.

If I recall correctly, xl's autosave also changes to the first worksheet in the
workbook when it saves--any chance you're saving through autosave?

Steve wrote:

Thanks for replying, Bob.

I'd already thought to look at that, and no, there's nothing there.
(There was, but it was an empty Worksheet_Open() event, which I've now
removed)

Steve


--

Dave Peterson
  #5   Report Post  
Steve
 
Posts: n/a
Default

Hey, that did it. I opened with the macros disabled, and then saved the
document. Works like a charm.

Thanks a lot.

Steve



  #6   Report Post  
Dave Peterson
 
Posts: n/a
Default

If xl behaved nicely with macros disabled, I'd still guess you have a macro
doing some stuff.

You may want to look for that code once more.

Steve wrote:

Hey, that did it. I opened with the macros disabled, and then saved the
document. Works like a charm.

Thanks a lot.

Steve


--

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
How do I isolate my Excel server (automation) from other Excel instances? Joseph Geretz Excel Discussion (Misc queries) 5 July 19th 13 03:18 PM
VB Automation is Whacking out my Excel Environment Joseph Geretz Excel Discussion (Misc queries) 2 December 29th 04 03:49 PM
Excel 2000 file when opened in Excel 2003 generates errors? Doug Excel Discussion (Misc queries) 13 December 25th 04 10:20 PM
Excel aficionado wants to learn Access Hari Excel Discussion (Misc queries) 0 December 3rd 04 05:47 AM
Excel user desires to learn ABC of Access Hari Excel Discussion (Misc queries) 1 December 3rd 04 02:32 AM


All times are GMT +1. The time now is 11:21 PM.

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"