I want to make sure I have correct workbook activated.
To do this I am using a Msgbox.
If the answer is No, then how do I tell it to stop so I can select the correct workbook?
And if Yes then the code proceeds, and if cancel, then cancel the code?
[vba]
If vbNo Then
MsgBox "HALT! You Must Activate the Correct" & Chr(10) & "Workbook For the Program to Run Correctly!", vbCritical
ElseIf vbYes Then
MsgBox "Procede"
Else: MsgBox "Cancel"
End If
Set Wbs = ActiveWorkbook
Set Wbt = Workbooks("Master PO.xls")
Set Wss = Wbs.ActiveSheet
Set Wst = Wbt.Worksheets("FF")
[/vba]
Thanks,
YLP