View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gator Girl Gator Girl is offline
external usenet poster
 
Posts: 36
Default (DAVE PETERSON) - SAVE WORKSHEET AS A NEW WORKBOOK

DAVE PETERSON SAYS TO USE THIS: BUT HOW DO I SET IT UP? ALT-F11 and THEN
WHAT?
dim wks as worksheet
set wks = worksheets("somesheetnamehere")
wks.copy 'copies to a new workbook--single sheet
'save the newly created single sheet workbook.
with activeworkbook
.saveas filename:="C:\..."
.close savechanges:=false
end with