| |
seanog
Posts: 2
Score: 0
Joined: 2/3/2005
From:
Status: offline
|
I am trying to do a horizontal alignment on the J column in Excel, but am getting hte following runtime error:Unable to Set the HorizontalAlignment property in the Range class Set objxl2 = CreateObject("Excel.Application") set fb=objxl2.Workbooks.Open("C:\Fran\SHEMLOG.csv") set Shipsheet = fb.activesheet Shipsheet.Range("J:J").HorizontalAlignment = xlHAlignCenter Any Suggestions?
|
|