Hello Experts
I have one line with input box
And i want to open new workbook with that name![]()
Please Login or Register to view this content.
How do I save the new woorkbook with the name from the InputBox?
Thanks
The Shark Man
Hello Experts
I have one line with input box
And i want to open new workbook with that name![]()
Please Login or Register to view this content.
How do I save the new woorkbook with the name from the InputBox?
Thanks
The Shark Man
Last edited by Shark Man; 04-16-2009 at 02:07 AM.
Hay experts
I'm sure its easy for you
Shark Man
Use the following macro in your excel vba part, hope this will help you.
Sub Test()
Dim wBook As New Workbook
currentsheet = InputBox("Name")
Set wBook = Application.Workbooks.Add
wBook.SaveAs "D:\" & currentsheet & ".xls"
End Sub
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks