Cancel button outlook userform macro won't do anything

后端 未结 1 641
情深已故
情深已故 2021-01-26 17:00

I\'ve been googling around all day and all the examples I\'ve found from 2008-2012 that Google keeps returning are not doing anything, so i figured I\'d give it a try here.

1条回答
  •  伪装坚强ぢ
    2021-01-26 17:22

    I was only able to replicate your issue when the Unload Me Sub was pasted in a Worksheet or Module. When the Sub is in the Userform, it works fine.

    Here, the code is pasted in a module and does not close the Userform

    Instead, from VBE, double click on your UserForm, then double click on your Cancel Button.

    Then paste the code here

    0 讨论(0)
提交回复
热议问题