PPRuNe Forums - View Single Post - Excel VBA Query
Thread: Excel VBA Query
View Single Post
Old 16th June 2011 | 10:58
  #1 (permalink)  
BOAC
Per Ardua ad Astraeus
 
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
Excel VBA Query

Any VBA gurus please -

I have a macro which works with data from 3 worksheets in a book. I wish to save only worksheets 1 and 2 to a new workbook.

At the moment I save (all 3) with

ActiveWorkbook.SaveAs TITLE

I have had some but not all success with

ActiveWorkbook.ActiveSheet("Sheet1").SaveAs TITLE
BOAC is offline  
Reply