Sorry, this has nothing to do with deleting alternate sheets. Paul ----------------------------------------- “Do all the good you can, By all the means you can, In all the ways you can, In all the places you can, At all the times you can, To all the people you can, As long as ever you can.” - John Wesley -----------------------------------------
________________________________ From: ANKUR AGGARWAL <ankur9_aggarwa...@yahoo.co.in> To: "excel-macros@googlegroups.com" <excel-macros@googlegroups.com> Cc: "noorain.ans...@gmail.com" <noorain.ans...@gmail.com> Sent: Mon, November 5, 2012 6:33:01 AM Subject: Re: $$Excel-Macros$$ How to delete alternate sheets faster Hi team, Can anyone help me in Shape - Organizational chart in MS Excel. Attached is the sample excel file, in Sheet 1 there is an attached Organization chart which I am creating through VBA code., I want to fill each node of the chart dynamically through VBA, but the problem is I am not able to access nodes of the organization chart through code. Its taking whole organization chart as a shape and not able to access node of the organization chart. Can somebody please help me out. Its very urgent as I have to complete something by EOD. Thanks in advance. Warm Regards Ankur Aggarwal 91-8010614628 Analyst Mckinsey Knowledge Center Mckinsey & Co. ________________________________ From: NOORAIN ANSARI <noorain.ans...@gmail.com> To: excel-macros@googlegroups.com Sent: Thursday, 1 November 2012 11:53 AM Subject: Re: $$Excel-Macros$$ How to delete alternate sheets faster Dear Pravin, Please press Alt+F11 and goto Insert-module and paste code and press F5 to execute macro. Hope it will useful for you. On Thu, Nov 1, 2012 at 11:40 AM, Pravin Gunjal <isk1...@gmail.com> wrote: Dear Noorain > > >Pl inform how to and where to use this code.. >Thank you. > >Pravin. > > > > >On Thu, Nov 1, 2012 at 11:04 AM, NOORAIN ANSARI <noorain.ans...@gmail.com> >wrote: > >Dear Pravin, >> >> >>Please try >> >>Sub delete_alternative_sheet() >>Dim i As Integer >>On Error Resume Next >>For i = 2 To Sheets.Count Step 2 >>Sheets(i).Delete >>Next i >>End Sub >> >> >> >>On Thu, Nov 1, 2012 at 10:51 AM, Pravin Gunjal <isk1...@gmail.com> wrote: >> >>Dear Friends, >>> >>> >>>Greetings ! >>> >>> >>>I am having an excel file (office 2007) containing 43 sheets in it and would >>>like to delete alternative sheets like 2-4-6 etc. up to the end. >>> >>> >>>Is it possible to select all those sheets at a time and delete the same. As >>>currently I am selecting one by one and deleting all of them. >>> >>> >>>Thank you, >>> >>> >>>Regards >>>Pravin Gunjal. >>> >>>-- >>>Join official facebook page of this forum @ >>>https://www.facebook.com/discussexcel >>> >>>FORUM RULES (1120+ members already BANNED for violation) >>> >>>1) Use concise, accurate thread titles. Poor thread titles, like Please >>>Help, >>>Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not >>>get >>>quick attention or may not be answered. >>> >>>2) Don't post a question in the thread of another member. >>> >>>3) Don't post questions regarding breaking or bypassing any security measure. >>> >>>4) Acknowledge the responses you receive, good or bad. >>> >>>5) Cross-promotion of, or links to, forums competitive to this forum in >>>signatures are prohibited. >>> >>> >>>6) Jobs posting is not allowed. >>> >>>7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. >>> >>>NOTE : Don't ever post personal or confidential data in a workbook. Forum >>>owners >>>and members are not responsible for any loss. >>>--- >>>You received this message because you are subscribed to the Google Groups >>>"MS >>>EXCEL AND VBA MACROS" group. >>>To post to this group, send email to excel-macros@googlegroups.com. >>>To unsubscribe from this group, send email to >>>excel-macros+unsubscr...@googlegroups.com. >>>Visit this group at http://groups.google.com/group/excel-macros?hl=en. >>> >>> >>> >> >> >>-- >>With Regards, >>Noorain Ansari >>http://noorainansari.com >>http://excelvbaclinic.com >> >> >> >>-- >>Join official facebook page of this forum @ >>https://www.facebook.com/discussexcel >> >>FORUM RULES (1120+ members already BANNED for violation) >> >>1) Use concise, accurate thread titles. Poor thread titles, like Please Help, >>Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not >>get >>quick attention or may not be answered. >> >>2) Don't post a question in the thread of another member. >> >>3) Don't post questions regarding breaking or bypassing any security measure. >> >>4) Acknowledge the responses you receive, good or bad. >> >>5) Cross-promotion of, or links to, forums competitive to this forum in >>signatures are prohibited. >> >> >>6) Jobs posting is not allowed. >> >>7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. >> >>NOTE : Don't ever post personal or confidential data in a workbook. Forum >>owners >>and members are not responsible for any loss. >>--- >>You received this message because you are subscribed to the Google Groups "MS >>EXCEL AND VBA MACROS" group. >>To post to this group, send email to excel-macros@googlegroups.com. >>To unsubscribe from this group, send email to >>excel-macros+unsubscr...@googlegroups.com. >>Visit this group at http://groups.google.com/group/excel-macros?hl=en. >> >> >> > >-- >Join official facebook page of this forum @ >https://www.facebook.com/discussexcel > >FORUM RULES (1120+ members already BANNED for violation) > >1) Use concise, accurate thread titles. Poor thread titles, like Please Help, >Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get >quick attention or may not be answered. > >2) Don't post a question in the thread of another member. > >3) Don't post questions regarding breaking or bypassing any security measure. > >4) Acknowledge the responses you receive, good or bad. > >5) Cross-promotion of, or links to, forums competitive to this forum in >signatures are prohibited. > > >6) Jobs posting is not allowed. > >7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. > >NOTE : Don't ever post personal or confidential data in a workbook. Forum >owners >and members are not responsible for any loss. >--- >You received this message because you are subscribed to the Google Groups "MS >EXCEL AND VBA MACROS" group. >To post to this group, send email to excel-macros@googlegroups.com. >To unsubscribe from this group, send email to >excel-macros+unsubscr...@googlegroups.com. >Visit this group at http://groups.google.com/group/excel-macros?hl=en. > > > -- With Regards, Noorain Ansari http://noorainansari.com http://excelvbaclinic.com -- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. 6) Jobs posting is not allowed. 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To post to this group, send email to excel-macros@googlegroups.com. To unsubscribe from this group, send email to excel-macros+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/excel-macros?hl=en. -- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. 6) Jobs posting is not allowed. 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To post to this group, send email to excel-macros@googlegroups.com. To unsubscribe from this group, send email to excel-macros+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/excel-macros?hl=en. -- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. 6) Jobs posting is not allowed. 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To post to this group, send email to excel-macros@googlegroups.com. To unsubscribe from this group, send email to excel-macros+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/excel-macros?hl=en.