Ms Excel Vbo

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Excel actions

>>Create Instance

-Create Instance of Excel Application

Input- Enable Event

Output- Instance Number (Handel)

>>Open Workbook

-For Opening Workbook (excel)

Input- Instance Number (Handel), File Name

Output- Workbook Name

>>Get Worksheet as Collection

-Get Worksheet from currently opened Workbook (excel)

Input- Instance Number (Handel), Workbook Name, Worksheet Name

Output- Collection

>>Create Workbook

-For creating new workbook (excel)

Input- Instance Number (Handel)

Output- New Workbook Name

>>Create WorkSheet

-For creating new worksheet inside Workbook (excel)

Input- Instance Number (Handel), Workbook Name, Worksheet Name


Output- NA

>>Write Collection

-For writing collection in worksheet of workbook

Input- Instance Number (Handel), Workbook Name, Collection, Worksheet Name, Cell Reference,
Include Column Name (Flag)

Output- NA

>>Save Workbook As

-for saving Workbook at new Location

Input- Instance Number (Handel), File Name (New File Name)

Output- New WorkBook Name

>>Close WorkBook

-for closing the current opened workbook

>>Close Instance

-for closing the current opened Instance

>>Get Worksheet Names

-for taking all worksheet names from workbook

Output- Collection

You might also like