• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Autofill VBA till last data (destination) of column

Hello everyone....
Hope doing well !

While working on a VBA project, i stucked at very simple stage. Actually I recorded the macro to autofill a formula, but with the recording mode the destinations of last column also get locked.
I have attached an example file as well as VBA codes. Could anyone look on this please ........
 

Attachments

  • Autofill.xlsm
    16.9 KB · Views: 12
  • Autofill Destination.png
    Autofill Destination.png
    4.8 KB · Views: 25
Hi Narayan,

thanks for your interest, your work is really appreciable. but I need one more modification. Check the attachment again, hope you understand ...
 

Attachments

  • Autofill V2.xlsm
    18 KB · Views: 10
Hi ,

I am sorry but I have not understood what you want ; can you explain ?

See the attached file for the modified code which copies the formula to the correct number of cells.

Narayan
 

Attachments

  • Autofill.xlsm
    19.3 KB · Views: 16
Back
Top