Workbook

Home/Tag:Workbook

VBA Open File DialogBox – Excel Macros Example Code

VBA Open File Dialog Box helps to browse a file and open Excel Workbook. Users can choose file by clicking on the button to open an Excel File with specific filter, title. VBA Code to Open an Excel File using File Dialog Box We can open the Excel files using File dialog box using Application.GetOpenFilename

By |April 22nd, 2014|VBA|8 Comments

VBA Save Sheet as Workbook Excel Macro Code

VBA code to save sheet as Workbook example code will help us to save a specific sheet as new workbook. We can use Copy and SaveAs methods of Workbook to copy and save the sheet into new workbook. In this example we will see how to save Active Sheet and specific worksheet as new excel

By |April 22nd, 2014|VBA|33 Comments

VBA Save Excel File Example Macro Code

VBA code to save the excel file example code will help us to save the excel file. We can use Save method of Workbook to save the file. In this example we will see how to save the current Excel file using VBA. And this code should work for all the version of Microsoft Excel

By |April 22nd, 2014|VBA|0 Comments

VBA Close Excel File – Workbook Example Code

VBA code to close the excel file example will help us to close the excel file. We can use Close method of Workbook to close the file. In this example we will see how to close the Active Excel Workbook using VBA. VBA code for closing Active Workbook macro should work for all the version

By |April 22nd, 2014|VBA|2 Comments