Hello. Why does this code not work?
![]()
Range("C29").Select Selection.Formula = "=C12*C3" Selection.AutoFill Destination:=Range("C29:O35"), Type:=xlFillDefault
Hello. Why does this code not work?
![]()
Range("C29").Select Selection.Formula = "=C12*C3" Selection.AutoFill Destination:=Range("C29:O35"), Type:=xlFillDefault
Most likely because the selection refers to one cell. Use this instead
![]()
Range("C29:O35").Formula = "=C12*C3"
Seems like this has already been answered.
http://www.excelforum.com/excel-prog...ficiently.html
Please don't duplicate posts.
Regards, TMS
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks