The Code Cage - Microsoft Office help Free Microsoft Office Help for all Applications!  

To stop seeing these ads and get other benefits check This page!

Go Back   The Code Cage Forums > Newsgroups - Microsoft Topics > Newsgroup - Excel Forum > Excel VBA Programming
  Microsoft Office Chat Online now!


Excel VBA Programming Post questions in this forum if they are related to using Microsoft Excel VBA Programming, Macro's etc.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 9th October 2008, 10:30 PM
BillJenk
Newsgroup Contributor


My Top Tip Count:

 
Posts: n/a
Chats:
Default On save excel jumps to another worksheet. How to fix VBA code?

------ Register to get rid of these "In Post" ads! ------


I have a multi sheet excel workbook that has VBA coding. When I go to save
the workbook it jumps to Page 7(Sheet7) and starts running the activate code
for page 7. How can I stop it from jumping to page7 on save.
'Original Source: The Code Cage Forums http://www.thecodecage.com/forumz/excel-vba-programming/2268-save-excel-jumps-another-worksheet-how-fix-visual-basic-applications-code.html#post6592
Reply to this post


Did you find this post helpful? Yes | No

The Code Cage Advertisment
Advertisement

To stop seeing these ads and get other benefits check This page!
  #2 (permalink)  
Old 9th October 2008, 10:30 PM
Barb Reinhardt
Newsgroup Contributor


My Top Tip Count:

 
Posts: n/a
Chats:
Default RE: On save excel jumps to another worksheet. How to fix VBA code?

------ Register to get rid of these "In Post" ads! ------


It's hard to tell. What does your Workbook_Before save event look like?
'Original Source: The Code Cage Forums http://www.thecodecage.com/forumz/excel-vba-programming/2268-save-excel-jumps-another-worksheet-how-fix-visual-basic-applications-code.html#post6601
--
HTH,
Barb Reinhardt

If this post was helpful to you, please click YES below.



"BillJenk" wrote:

> I have a multi sheet excel workbook that has VBA coding. When I go to save
> the workbook it jumps to Page 7(Sheet7) and starts running the activate code
> for page 7. How can I stop it from jumping to page7 on save.

Reply to this post


Did you find this post helpful? Yes | No
  #3 (permalink)  
Old 9th October 2008, 10:30 PM
Chip Pearson
Newsgroup Contributor


My Top Tip Count:

 
Posts: n/a
Chats:
Default Re: On save excel jumps to another worksheet. How to fix VBA code?

------ Register to get rid of these "In Post" ads! ------


Look in the ThisWorkbook code module for a procedure named
Workbook_BeforeSave. There, comment out the code that is causing the
jump to Sheet7.


Cordially,
Chip Pearson
Microsoft MVP
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
The San Diego Project Group, LLC
'Original Source: The Code Cage Forums http://www.thecodecage.com/forumz/excel-vba-programming/2268-save-excel-jumps-another-worksheet-how-fix-visual-basic-applications-code.html#post6602
(email is on the web site)
USA Central Daylight Time (-5:00 GMT)



On Thu, 9 Oct 2008 13:47:02 -0700, BillJenk
<BillJenk@discussions.microsoft.com> wrote:

>I have a multi sheet excel workbook that has VBA coding. When I go to save
>the workbook it jumps to Page 7(Sheet7) and starts running the activate code
>for page 7. How can I stop it from jumping to page7 on save.

Reply to this post


Did you find this post helpful? Yes | No
The Code Cage Advertisment
Advertisement

To stop seeing these ads and get other benefits check This page!
Reply

Bookmarks

Tags
code, excel, fix, jumps, save, vba, worksheet


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

The Code Cage Affilliates


To stop seeing these ads and get other benefits check This page!



All times are GMT +1. The time now is 03:44 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2
No part of this board may be copied or reproduced either in part or full without the express permission of The Code Cage Team.
We are not associated with nor employed by Microsoft in any way, we simply provide resources!
All MS office icons are registered trademarks of the application the represent