Hello,
What would be the proper way to write the following in VBA language?
if Window1,Sheet1,Range A1 = Window2,Sheet2,Range A2 then
exit sub
end if
What I am trying to do is a macro that if a cell in a workbook is the same as another cell in a different workbook, the code will exit. The cells that I am comparing are a time stamp that looks like this: 13-Apr-2016 10:00:09 AM AST
Any help would be greatly appreciated!
What would be the proper way to write the following in VBA language?
if Window1,Sheet1,Range A1 = Window2,Sheet2,Range A2 then
exit sub
end if
What I am trying to do is a macro that if a cell in a workbook is the same as another cell in a different workbook, the code will exit. The cells that I am comparing are a time stamp that looks like this: 13-Apr-2016 10:00:09 AM AST
Any help would be greatly appreciated!