is it possible to add sheets to excel at runtime

Answers were Sorted based on User's Feedback



is it possible to add sheets to excel at runtime..

Answer / Ravikant Kumar

Microsoft Excel does not natively support adding sheets dynamically during runtime without manual intervention. However, you can use VBA (Visual Basic for Applications) macros or external libraries like EPPlus to automate the creation and manipulation of new worksheets within an Excel workbook.

Is This Answer Correct ?    0 Yes 0 No

is it possible to add sheets to excel at runtime..

Answer / sadashivbyagi

using exportsheet syntax

datatable.exportsheet."path",1,1

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More QTP Interview Questions

I wnnt to learn about QTP Automation Framework,please give URL Address to get more information about AFW.

0 Answers   UHG,


In QTP where i have to concentrate more in the Interview point of View

1 Answers  


Can any body help me to write descriptive program to find a cell value (say 2 row, 3rd column) in a datatable which is creating dynamically and statically

0 Answers  


In a WebTable 2nd row,3rd column contains one link and that link name is changing dynamically. How you will click the link?

1 Answers   Bank Of America,


what are the difference between qtp8.2 to 9.0 surya

1 Answers   Bally Technologies,


How is a Step generator used in UFT?

1 Answers  


what is the diff between manual test plan document and automation test plan doc.can u explain indetail.

1 Answers   Value Labs,


It seems Interview questions from Ordain Solutions are almost BASIC LEVEL-Easy. I am asking one tough question..(I think.. May be easy for some people) In recorded script the - WebLink("cityinfo") In reality, the WebLink name is "generalinfo" How you can write function to click that changed web link. NOTE: This functin should work with any Dynamic text link. I will post the answer later.

8 Answers  


This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10

1 Answers  


1.How to find in which row or column,string "Hyderabad" exist in excel sheet? 2.How to find how many times character "a" repeated in a given string "Koteswararao"

6 Answers   Ness Technologies,


what is virtual object?

2 Answers  


How you know that a test case is a regression test case

2 Answers  


Categories