Once your file is opened, even if you disable the macros, its content may be the target of another workbooks macro.
Daniel De : excel-macros@googlegroups.com [mailto:excel-mac...@googlegroups.com] De la part de DEBASHIS BANERJEE Envoyé : mardi 30 juin 2009 13:54 À : excel-macros@googlegroups.com Objet : [Norton AntiSpam] $$Excel-Macros$$ Re: Macro for Opening a Particular Sheet . Cordial thanks to you for your co operation. this code is running only if last option of the Macro security is checked. ie if enabled all macro ( not recommended......) button is checked. if it is so , then some suspicious macro may also be opened that may affect my file. kindly suggest. Thanks and regards Debashis. On 6/30/09, JAYAVELU SUN <jayavelu....@gmail.com> wrote: Hi Use this code Private Sub Workbook_Open() Worksheets(3).Activate End Sub Jayavelu 9941260857 On Tue, Jun 30, 2009 at 11:46 AM, DEBASHIS BANERJEE <debashis....@gmail.com> wrote: I am enclosing herewith an Excel File containing Three Sheet numbering 1 ,2 and 3. I like to write a Macro so that only sheet No 3 will be opened as and when this file is opened . Generally , it is seen that active sheet at the time of closing the file is opened when it is opened next time. But I like to mandate the page no 3 to be opened every time.. kindly suggest . Thanks and regards Debashis. <br --~--~---------~--~----~------------~-------~--~----~ ------------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com or Ashish Jain @ 26may.1...@gmail.com ------------------------------------------------------------------------------------- -~----------~----~----~----~------~----~------~--~---