Question : Excel 2010 - Message box for three steps

When I open a certain sheet I would like Excel 2010 to ask me (or whoever opens the sheet) the following

‘Would you like to import the latest data feed question, if ‘Yes’ then run specific macro
Once Run, would you like to check for new product lines, if ‘Yes’ the run a specific macro
Again Once Run, would you like to format the Price Lists formulas, if ‘Yes’ then run a specific macro.

If No is said at any time, dump out to Price List Sheet.

Once complete, “All Tasks Complete, Have a nice day”

I would rather these message boxes as the default. The buttons to manually run each element will also be on the sheet but it would nice if opening the sheet fired off this message box sequence

Thanks

Answer : Excel 2010 - Message box for three steps

Private Sub Workbook_Open()
if MsgBox("Would you like to import the latest data feed question?","Import data feed",vbYesNo)=vbYes then
  MacroName1
  if MsgBox("Would you like to check for new product lines?","Check product lines",vbYesNo)=vbYes then
    MacroName2
    if MsgBox("Would you like to format the Price Lists formulas?","Format lists formulas",vbYesNo)=vbYes then
      MacroName3
    end if
  end if
end if
Random Solutions  
 
programming4us programming4us