Hi,
For inserting a new sheet: Sheets.Add Renaming it: Activesheet.Name = "Test1" For the pivot can give the details exactly what error are you getting. Manish From: excel-macros@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of deepa bharti Sent: Monday, October 13, 2008 3:47 PM To: excel-macros@googlegroups.com Subject: $$Excel-Macros$$ Pivot macro Hi, i know this would be a very basic question but I need to get create a pivot through a macro but I am facing soem debugging issue . can anyone help me with that. Also I would like to know the command for inseting a new worksheet in an workbook and renaming it. Thanks --~--~---------~--~----~------------~-------~--~----~ Visit the blog to download Excel tutorials at http://www.excel-macros.blogspot.com To post to this group, send email to excel-macros@googlegroups.com For more options, visit this group at http://groups.google.com/group/excel-macros?hl=en Visit & Join Our Orkut Community at http://www.orkut.com/Community.aspx?cmm=22913620 Visit the blog to download Excel tutorials at http://www.excel-macros.blogspot.com To Learn VBA Macros Please visit http://www.vbamacros.blogspot.com To see the Daily Excel Tips, Go to: http://exceldailytip.blogspot.com -~----------~----~----~----~------~----~------~--~---