View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Ole P. Erlandsen Ole P. Erlandsen is offline
external usenet poster
 
Posts: 4
Default Simple macro needed to export a worksheet

This will do the trick:

Sub CopySheet()
Sheets("Sheet1").Copy ' copies Sheet1 to a new workbook
End Sub

--
Ole P.

RobG wrote:
Hi all

I need a simple macro to export one worksheet, including formulae, values
and all formating, to a new workbook. Can anyone help me?

Rob