VBA help - Procedure of tasks with Boolean logic

Myproblem

Board Regular
Joined
May 24, 2010
Messages
198
I need to make vba macro to check did I finished all procedures for some work. It should be done by Boolean logic, like:

Task 1 (Change date of report): Did u finish task 1? then Boolean question Yes (click) No (click) then Proceed Forward on task 2 Yes (click) No (click)

Task 2 (Did you import data from system): Did u finish task 1? then Boolean question Yes (click) No (click) then Proceed Forward on task 3 Yes (click) No (click) ... and so on up to 9 task BUT

i need not to have strict order of finishing task, like I can finish task 1 and proceed to do task example 5, BUT I need it to show which tasks are not finished

I wrote this below, but I do not know how to do it as I write up
Sub Procedures_of_tasks()
Msg = "Did you do Task 1?"
Ans = MsgBox(Msg, vbYesNo)
If Ans = vbNo Then MsgBox "Do Task 1"
If Ans = vbYes Then MsgBox "Proceed Forward"

End Sub

any tips
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Look to use a UserForm add your command buttons and even Check Boxes then you can have the code respond accordingly.
 
Upvote 0

Forum statistics

Threads
1,224,584
Messages
6,179,687
Members
452,938
Latest member
babeneker

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top