I have an excel file which contains 7 to 8 worksheets(sheet1,sheet2 ….), i want to read all the sheets one by one.Can somebody suggest me how to achieve this in VB6.0
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use the WorkSheets collection. It has a
Countproperty that contains the number of workshees, and you can access sheet2viaWorksheets(2)– you don’t need to know the name of the sheet.