This code will be placed in Step3.xlsb and only step3.xlsb is opened no other files are opened
So we have to open 1.xls by vba and check wheather the B2 cell of first sheet of 1.xls has data or not and do the same as per below condition
If B2 cell of 1.xls has data then
Set fso = CreateObject("scripting.filesystemobject")
fso.MoveFile Source:="C:\Users\WolfieeeStyle\Desktop\WolfieeeStyle\Step1\Step1.xlsb", Destination:="C:\Users\WolfieeeStyle\Desktop\" ' replace with source and destination as required.
If B2 cell of 1.xls has no data blank cell then
Set fso = CreateObject("scripting.filesystemobject")
fso.MoveFile Source:="C:\Users\WolfieeeStyle\Desktop\WolfieeeStyle\Step4\Step4.xlsb", Destination:="C:\Users\WolfieeeStyle\Desktop\" ' replace with source and destination as required.
Note- 1.xls first sheet name can be anything
So plz have a look Sir