If you want to copy selected worksheets from a workbook and save them in a new workbook.
Here is the code-
Dim wkbname As String
wkbname = "ashish"
' ADD SHEET NAMES here
ActiveWorkbook.SaveAs "C:\Documents and Settings\achamanlalko\Desktop\abc docs\" & wkbname & ".xlsx"
Friday, October 21, 2011
Macro to import data from SQL using ADO connection string: Sub Import_data_from_SQL() ' Tools -> References -> Microsoft Active...
Please make sure that you have the latest Version Tool Last Updated on 17 Feb, 2012 Version 1.6 English Version For Excel 2007 &...
Adding Marquee in Excel worksheet Step 1 Step 2 Example 1 Continuous scrolling Add below code module1 or any new module Sub r...