Can anyone help me out with this VBA Macros query? I want to compare a worksheet with another worksheet in a different workbook. However, I don't want to open that workbook when comparing. I just want to changes to be shown in the current worksheet that I am using.
Is there something like a temporary data storage using Macros which stores the data temporarily from another workbook, compares it without ever physically opening the workbook?
You don't need VBA for this. You can use regular worksheets formulas, even if the other file isn't open.
For example, if we want to compare cell
A1of the current worksheet to cellA1on worksheetSheet1of an (open or closed) Excel workbook saved asc:\myPath\myFile.xlsm, we could use:More Information:
Office.com : Create an external reference (link) to a cell range in another workbook
Microsoft Press : How to Combine Data from Multiple Sources in Microsoft Excel 2016 (book excerpt)