Something like:
ObjExcel.Workbooks.Open(fullpath("filename.xls"))
ObjExcel.Rows("1:1").Delete
<<<<<<<<<<<<<<<< your message below >>>>>>>>>>>>>>>>
thanks yuri. your solution worked. another excel question for you: how do I delete just the first row of an excel file. what is the excel object for that method. doesn't need to set the range, just needs to delete teh headers which is usually the first row....
Thanks in Advance.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only