Jan 24, 2006 #1 AT76 Technical User Apr 14, 2005 460 US I have an .xls spreadsheet and in row 1 of the spreadsheet I would like to change random header names. Is there a way to do this using: xlws.Columns Thank you!
I have an .xls spreadsheet and in row 1 of the spreadsheet I would like to change random header names. Is there a way to do this using: xlws.Columns Thank you!
Jan 24, 2006 #2 PHV MIS Nov 8, 2002 53,708 FR I'd use xlws.Cells(1, colNumber) = "NewColName" Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
I'd use xlws.Cells(1, colNumber) = "NewColName" Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
Jan 24, 2006 Thread starter #3 AT76 Technical User Apr 14, 2005 460 US I found the answer: xlws.Cells(1, "Letter of Column") = "New Header Name Upvote 0 Downvote