You can use Activesheet.copy to create a new workbook with only that sheet
Try this example that Save the new file in C:\
Sub test()
Dim wb As Workbook
Dim strdate As String
strdate = Format(Now, "dd-mm-yy h-mm-ss")
Application.ScreenUpdating = False
ActiveSheet.Copy
Set wb = ActiveWorkbook
With wb
.SaveAs "C:\Part of " & ThisWorkbook.Name _
& " " & strdate & ".xls"
.Close False
End With
Application.ScreenUpdating = True
End Sub
--
Regards Ron de Bruin
http://www.rondebruin.nl
"Spartanz" <
[email protected]> wrote in message
news:
[email protected]...
>
> Hi guys! I have a problem here. I have completed a form in Excel that
> allows users to input data and make selection on popup calendars and
> dropdown list. All the data entered or selected will be input into
> another worksheet on the same file. Now I need to save whatever data
> that I obtained from the form into a new Excel file. Is there a way for
> me to do this by writing a macro, so that all my users have to do is to
> click on a 'submit' button i created for them?
>
> Advance thansk to all who are kind enough to read my post and many
> thanks to those who are able to help. I have been pressured by my
> manager for days...
>
>
>
>
> --
> Spartanz
> ------------------------------------------------------------------------
> Spartanz's Profile: http://www.excelforum.com/member.php...o&userid=28830
> View this thread: http://www.excelforum.com/showthread...hreadid=485785
>
Bookmarks