E
eyeman6513_2000
I thought that i posted this yesterday but I can't find the posting so
if this is a double post, please point me in the direction of the
original post and I will go from there.
I have the following Code:
Sub Autofill()
'
'
Range("B1").Select
Selection.Copy
Selection.AutoFill Destination:=Range("B1:B10")
Range("B1:B10").Select
Range("G17").Select
End Sub
I looked at previous postings on this group and found this topic
addressed before and I found code on how to do this so I attempted to
apply the following code:
Sub Test()
'
' Test Macro
'
Range("B1").Select
Dim endRow As Long
endRow = Cells(Rows.Count, ("B1:B")).End(xlUp).Row
ActiveCell.AutoFill Destination:=Range("B1:B")
End Sub
However, it keeps errorring out, any suggestions?
Thank you.
Richard
if this is a double post, please point me in the direction of the
original post and I will go from there.
I have the following Code:
Sub Autofill()
'
'
Range("B1").Select
Selection.Copy
Selection.AutoFill Destination:=Range("B1:B10")
Range("B1:B10").Select
Range("G17").Select
End Sub
I looked at previous postings on this group and found this topic
addressed before and I found code on how to do this so I attempted to
apply the following code:
Sub Test()
'
' Test Macro
'
Range("B1").Select
Dim endRow As Long
endRow = Cells(Rows.Count, ("B1:B")).End(xlUp).Row
ActiveCell.AutoFill Destination:=Range("B1:B")
End Sub
However, it keeps errorring out, any suggestions?
Thank you.
Richard