1

I had a QTP Data Table and named some of my columns.

I decided I didn't need one of my columns for my test, but it won't let me remove a column name once its set. I can't remove the column header and now my column names are all messed up. Is there a way to completely delete a table permanently, not just the column header?

1
  • Was my answer helpful? You did not accept it, so maybe there is something more about that you would need to know? :) Dec 8, 2017 at 13:56

1 Answer 1

1

If you want to delete a column/columns:

datatable.GetSheet(MySheetName).DeleteParameter ColumnName

Delete "CatNo" cloumn from "cats info" sheet.

datatable.GetSheet("cats info").DeleteParameter "CatNo"

Also. As far as I know you can always open it with Excel and to it "manualy".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.