View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
RobG RobG is offline
external usenet poster
 
Posts: 10
Default Simple macro needed to export a worksheet


Thanks for that, I knew it should be simple!

Rob

"Ole P. Erlandsen" wrote:

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