Thread
:
VBA Variables....
View Single Post
#
6
Posted to microsoft.public.excel.programming
Don Guillett
external usenet poster
Posts: 10,124
VBA Variables....
Your problem appears to be that you are trying to offset a1 -1 column.
Try this to fill down from a2 to the activecell in column A
Sub filldowntoactivecell()
range("a2:a"&activecell.Row).filldown
End Sub
--
Don Guillett
SalesAid Software
"MarkHear1" wrote in message
oups.com...
I am still having problems with my varaibles. Below is the code i have
written, can anybody offer any help as to why it is not working?
Dim BottomRow As Range
Set BottomRow = ActiveCell
Range("a2").Select
Dim Beginning As Range
Set Beginning = ActiveCell
Selection.AutoFill Destination:=Range(Beginning, BottomRow.Offset(0,
-1)), Type:=xlFillDefault
Many Thanks,
Mark
Reply With Quote
Don Guillett
View Public Profile
Find all posts by Don Guillett