M
Mike Labosh
Greetings, all:
I am in the midst of teaching some C# and I do not have Excel in front of
me, but a student posed a question about how to refer to a given worksheet
inside a workbook.
Can I say something like this?
exlApp.Workbooks(0).Worksheets(0)...
to refer to the first worksheet of the first workbook?
Can someone verify the syntax?
Are these collections0-based or 1-based?
--
Peace & happy computing,
Mike Labosh, MCSD MCT
Owner, vbSensei.Com
"Escriba coda ergo sum." -- vbSensei
I am in the midst of teaching some C# and I do not have Excel in front of
me, but a student posed a question about how to refer to a given worksheet
inside a workbook.
Can I say something like this?
exlApp.Workbooks(0).Worksheets(0)...
to refer to the first worksheet of the first workbook?
Can someone verify the syntax?
Are these collections0-based or 1-based?
--
Peace & happy computing,
Mike Labosh, MCSD MCT
Owner, vbSensei.Com
"Escriba coda ergo sum." -- vbSensei