Hi everyone,
I am trying to write a macro to rename my sheets in excel. My idea is that of using a key combination to open the propriety window of the development tab. The sequence of keys that allows to open the window is ALT,Q,P. Therefore my macro would sound like the following:
Sub rename_sheet()
SendKeys ("{%}")
SendKeys ("{Q}")
SendKeys ("{P}")
End Sub
However the macro is not working properly. Do you have any idea of why?
Thank you in advance for your help!
I am trying to write a macro to rename my sheets in excel. My idea is that of using a key combination to open the propriety window of the development tab. The sequence of keys that allows to open the window is ALT,Q,P. Therefore my macro would sound like the following:
Sub rename_sheet()
SendKeys ("{%}")
SendKeys ("{Q}")
SendKeys ("{P}")
End Sub
However the macro is not working properly. Do you have any idea of why?
Thank you in advance for your help!