A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Andreas,
I was wondering if you could help me out on a coding question. I have been working on this project for a bit and thanks to the help that you and Jeovany have given me, I am getting close to having a working model. I am running into one issue. I need have code that opens another workbook. example below.
Set Ledwb = Workbooks.Open _
("\TIMS-COMPUTER\Users\furnd\POS System\Ledger.xlsm")
In a perfect world, no one should be in this workbook, but I know that could cause an error if someone is in it. Is there a way to write code that will throw and Error saying "Ledger.xlsm could not open" if the file is open elsewhere?