$$Excel-Macros$$ Re: edit all sheets in a workbook at the same time?
Hi Mullan, Try the following code: Sub DKP() Dim ws As Worksheet For Each ws In Sheets If ws.Visible Then ws.Select (False) Next Range("a12").Select Selection.FormulaR1C1 = "dilip kumar pandey" End Sub ' replace the text which you want to type with "dilip kumar pandey" in the above code. -- DILIP KUMAR PANDEY MBA-HR,B COM(Hons.),BCA Mobile: +91 9810929744 dilipan...@gmail.com dilipan...@yahoo.com New Delhi - 110062 On Mon, Sep 7, 2009 at 3:23 PM, rmullan wrote: > > Hi. > > I have been using Excel for years but never really needed to get into > VBA too much .. usually recording the macro was sufficientbut now > I am learning VBA as I go. > > I want to know if there is a command which will allow me to all sheets > in a workbook at the same time. > I want to enter text into cell A12 for all possible sheets. > The number of sheets can change from time to time...otherwise I would > just list them by name...tedious but effective. > > Any help would be appreciated > > > > > --~--~-~--~~~---~--~~ -- 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 <><><><><><><><><><><><><><><><><><><><><><> HELP US GROW !! We reach over 6,500 subscribers worldwide and receive many nice notes about the learning and support from the group. Our goal is to have 10,000 subscribers by the end of 2009. Let friends and co-workers know they can subscribe to group at http://groups.google.com/group/excel-macros/subscribe -~--~~~~--~~--~--~---
$$Excel-Macros$$ Re: edit all sheets in a workbook at the same time?
Thanks .. I learn something new every day! On 7 Sep, 16:18, Norman May wrote: > You can select the first sheet tab, hold the shift key then select the last > sheet tab. > This will activate all sheets. > Enter the desird content of the any cell > > > > On Mon, Sep 7, 2009 at 5:53 AM, rmullan wrote: > > > Hi. > > > I have been using Excel for years but never really needed to get into > > VBA too much .. usually recording the macro was sufficientbut now > > I am learning VBA as I go. > > > I want to know if there is a command which will allow me to all sheets > > in a workbook at the same time. > > I want to enter text into cell A12 for all possible sheets. > > The number of sheets can change from time to time...otherwise I would > > just list them by name...tedious but effective. > > > Any help would be appreciated- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ -- 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 <><><><><><><><><><><><><><><><><><><><><><> HELP US GROW !! We reach over 6,500 subscribers worldwide and receive many nice notes about the learning and support from the group. Our goal is to have 10,000 subscribers by the end of 2009. Let friends and co-workers know they can subscribe to group at http://groups.google.com/group/excel-macros/subscribe -~--~~~~--~~--~--~---
$$Excel-Macros$$ Re: edit all sheets in a workbook at the same time?
You can select the first sheet tab, hold the shift key then select the last sheet tab. This will activate all sheets. Enter the desird content of the any cell On Mon, Sep 7, 2009 at 5:53 AM, rmullan wrote: > > Hi. > > I have been using Excel for years but never really needed to get into > VBA too much .. usually recording the macro was sufficientbut now > I am learning VBA as I go. > > I want to know if there is a command which will allow me to all sheets > in a workbook at the same time. > I want to enter text into cell A12 for all possible sheets. > The number of sheets can change from time to time...otherwise I would > just list them by name...tedious but effective. > > Any help would be appreciated > > > > > --~--~-~--~~~---~--~~ -- 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 <><><><><><><><><><><><><><><><><><><><><><> HELP US GROW !! We reach over 5,200 subscribers worldwide and receive many nice notes about the learning and support from the group. Our goal is to have 10,000 subscribers by the end of 2009. Let friends and co-workers know they can subscribe to group at http://groups.google.com/group/excel-macros/subscribe -~--~~~~--~~--~--~---