Hi All,
It has been a rough morning and i cannot figure out why this is not working. Thanks for any help
I am trying to put a formula in J2 that says count from M2 to (A Variable Column)2Please Login or Register to view this content.
Thanks
Hi All,
It has been a rough morning and i cannot figure out why this is not working. Thanks for any help
I am trying to put a formula in J2 that says count from M2 to (A Variable Column)2Please Login or Register to view this content.
Thanks
Regards,
amotto
If I helped, Don't forget to add to my reputation (click on the star below the post)
Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
Maybe:
Range("J2").Formula = "=Count(M2:" & Cells(2, ColumnCount).Address & ")"
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
Sorry, .Address makes the reference stay there, $C$4, i would like it to be $C4 or C4.
Thanks
Last edited by amotto11; 08-10-2012 at 10:32 AM.
I figured it out, all i needed was (0,0) after .address
You're welcome. Thanks for the rep.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks