• 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.

How to Re - run a code (Refresh?)

gift

New Member
Hi all,

I have an excel sheet with vba codes that run based on selection of a drop down list. The issue comes when I copy one of the options and paste them on another cell. the macro wont run. it needs me to reselect the option in that cell again. All I want is some refresh button to enable the macro to run and apply to those cells. Please see attached.

Thanks in advance.

Gift
 

Attachments

  • Refresh code.xlsm
    25.4 KB · Views: 5
I have modified the code & deleted out all the unnecessary bits.
 

Attachments

  • Refresh code.xlsm
    19.3 KB · Views: 4
I have modified the code & deleted out all the unnecessary bits.

Hey Chirayu,

Thanks so much for your help. Can I ask one more thing. You would have noticed that in the code I try to centre the shape by moving it 36/37 points to the right. is there any way that I can make the shape centred and in the middle of each cell. Please see attached.

Thank you :)
 

Attachments

  • Refresh code (1).xlsm
    19.6 KB · Views: 2
I don't know how to thank you. Thanks so much. You just made me look like a genius. :)
 
Back
Top