Actually i'm ultimately trying to set the first row to bold and set the back color to light gray, and also set all of the columns to autofit.
i'm cutting corners to just try to get something (anything) to work so i can see where my problem lies, and add on from there.
Meanwhile, i've had a small success by taking out the .Workbooks property, and another error. The first section now works. The error now rests on the bolded line. i also need to add a Save Changes property somewhere, and the former code i had (SaveChanges:=True), which i borrowed from the internet, is not correct either.
Set objXL = CreateObject("Excel.Application")
objXL.Workbooks.Open (strWkbkName)
With objXL
.Worksheets(strWkSt) _
.Rows("1:1").Font.Bold = True
End With
objXL.Workbooks(strWkbkName).Close
objXL.Quit
Set objXL = Nothing
(Edited to remove the .Application the faulty line because it doesn't work either way.