Hi every one, I have just started scripting in vba, and I am faced with the problem of making the macro option dialog box more prominent than it is default in excel 2007. I have read that I cannot change the ribbon.
Instead what I want to do is to creat an event macro: workbook_open() and the code for it is to display the macro options dialog box to make it more prominent for others to notice that the workbook contain a macro. I have research the vba help with the excel dialog boxes and constants for these dialog box but the macro contain a bug and cannot run this line:
Application.Dialogs(xldialogMacroOptions).Show
From help I note that I need to specify some(an) argument for show but do not know how to do this. Can you show me how to completely do the event handler Private Sub Workbook_Open()
Thanks for your help in advance
Instead what I want to do is to creat an event macro: workbook_open() and the code for it is to display the macro options dialog box to make it more prominent for others to notice that the workbook contain a macro. I have research the vba help with the excel dialog boxes and constants for these dialog box but the macro contain a bug and cannot run this line:
Application.Dialogs(xldialogMacroOptions).Show
From help I note that I need to specify some(an) argument for show but do not know how to do this. Can you show me how to completely do the event handler Private Sub Workbook_Open()
Thanks for your help in advance