View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Gina Gina is offline
external usenet poster
 
Posts: 58
Default Saving a worksheet

Hi,

I want to save a worksheet in a workbook as a separate excel file containing
that one sheet, when a button is clicked. The code i have is:

Do
fName = Application.GetSaveAsFilename
Loop Until fName < False Or msoButtonSetOkCancel = Cancel

But it doesn't seem to work properly. Can anyone help?

Thanks