Hey all, I'm getting Run-time error 438 "Object doesn't support this property or method" in my code, which i didn't get yesterday and I'm not sure why I'm getting at all... It's occuring on the
line in the section of code below...
Can anyone explain this to me? I see in the properties explorer window that .HorizontalAlignment is a propert of Range... I'll admit I don't have the best handle on this higher level objects, classes, methods stuff yet...
Thanks,
Joe
Code:
.Horizontal Alignment = xlRight
Code:
With Template.Sheets("Forms")
.Range("G13") = FILEREF
For i = 0 To RowCount
.Range("A" & 23 + i & ":B" & 23 + i).MergeCells = True
.HorizontalAlignment = xlRight
.NumberFormat = "@"
.Range("D" & 23 + i & ":E" & 23 + i).MergeCells = True
.HorizontalAlignment = xlCenter
.NumberFormat = "@"
Thanks,
Joe