Hello,
This is a little different from the Display alerts = false coding i believe.
Bear with me here.........
Currently within our excel workbook that we have created in-house, we have added an add-in that allow us to select something from a drop down from a custom tool bar and it will populate the information we requested on a new excel sheet
So let's say I only have sheet 1 and i'm using that. Then i want information on "list of people's name and address", i go to the drop down, select that option, and that list of information is then populated for me on a newly created sheet 2 (which it will also rename that tab accordingly as well) - pretty neat.
The only exception is, if the add-in senses that I am already in a pre-saved file (not a brand new unsaved draft) it will ask if i want to create that sheet 2 on the current file that I'm in or output it on a completely new excel worksheet - also pretty neat.
I am presented with a Yes and No choice on the pop up prompt.
All is well until i need to create a macro in vba that needs to call that function but the macro stops when the prompt shows up. Is there anyway I can "answer" to the prompt?
the displayalert = false doesn't seem to work as i've tried that, and bypassing it doesn't tell the macro if i want the information displayed on the current file i'm on or a new worksheet.
How can i tell it to make that choice?
Am i stuck?
Thanks!
This is a little different from the Display alerts = false coding i believe.
Bear with me here.........
Currently within our excel workbook that we have created in-house, we have added an add-in that allow us to select something from a drop down from a custom tool bar and it will populate the information we requested on a new excel sheet
So let's say I only have sheet 1 and i'm using that. Then i want information on "list of people's name and address", i go to the drop down, select that option, and that list of information is then populated for me on a newly created sheet 2 (which it will also rename that tab accordingly as well) - pretty neat.
The only exception is, if the add-in senses that I am already in a pre-saved file (not a brand new unsaved draft) it will ask if i want to create that sheet 2 on the current file that I'm in or output it on a completely new excel worksheet - also pretty neat.
I am presented with a Yes and No choice on the pop up prompt.
All is well until i need to create a macro in vba that needs to call that function but the macro stops when the prompt shows up. Is there anyway I can "answer" to the prompt?
the displayalert = false doesn't seem to work as i've tried that, and bypassing it doesn't tell the macro if i want the information displayed on the current file i'm on or a new worksheet.
How can i tell it to make that choice?
Am i stuck?
Thanks!