Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
total no of excel sheet
i am using visual basic 6.0. i need to know total no of
excel sheet avaiable in one excel file thru vb program.how to do that? Thanks balakumar |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
total no of excel sheet
xlApp.ActiveWorkbook.Sheets.count
or for worksheets xlApp.ActiveWorkbook.Worksheets.count -- Regards, Tom Ogilvy balakumar wrote in message ... i am using visual basic 6.0. i need to know total no of excel sheet avaiable in one excel file thru vb program.how to do that? Thanks balakumar |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
total no of excel sheet
Sheets can include both Charts and Worksheets.
For both charts and Worksheets (includeing Excel4 macro sheets) xlApp.ActiveWorkbook.Sheets.count For Charts only: xlApp.ActiveWorkbook.charts.count For Worksheets only: xlApp.ActiveWorkbook.Worksheets.count Bill Barclift "balakumar" wrote in message ... i am using visual basic 6.0. i need to know total no of excel sheet avaiable in one excel file thru vb program.how to do that? Thanks balakumar |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
total columns of one sheet on another sheet | Excel Worksheet Functions | |||
how to get grand total in words in excel sheet | Excel Worksheet Functions | |||
moving informatiion from one sheet to a total sheet | Excel Discussion (Misc queries) | |||
Cell Total shown Sheet to Sheet | New Users to Excel | |||
in excel, how do i set up a spread sheet that automatically total. | New Users to Excel |