Did FillDown break in 2007??

  • Thread starter Thread starter Ed from AZ
  • Start date Start date
E

Ed from AZ

I was "upgraded" to 2007. Why doesn't this work??

If Target.Column = 4 And _
Target.Row <> 21 Then
x = Target.Row
y = Target.Column

With wks
.Range(x, y + 1).FillDown

Method 'range' of object "wks" failed????

Ed
 
wks.Range(x, y +1) is not a range object.
--
Jim Cone
Portland, Oregon USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)


"Ed from AZ"
<[email protected]>
wrote in message
I was "upgraded" to 2007. Why doesn't this work??

If Target.Column = 4 And _
Target.Row <> 21 Then
x = Target.Row
y = Target.Column

With wks
.Range(x, y + 1).FillDown

Method 'range' of object "wks" failed????
Ed
 
Yeah - it hit me this morning! That should have been Cells instead of
Range.

Yesterday wasn't too good for thinking, apparently!

Ed
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top