xlFillFormat to Right

R

ryguy7272

How do I use xlFillFormat for 9 columns to the right of my current Column
(which is Column A)?

I have this code:
ActiveCell.Resize(, 9).Select
Selection.AutoFill Destination:=.Range(.Cells(, 9), Type:=xlFillFormats

The second line is failing.
Please help!

Thanks!
Ryan---
 
G

Gary Keramidas

maybe this:

Sub test()
With ActiveCell
..AutoFill Destination:=.Resize(, 9), Type:=xlFillFormats
End With
End Sub
 
Top