I am trying to determine if an Excel workbook is open through VBA code.
What I want is when workbook "A" is opened it checks to see if workbook "B" is open. These 2 workbooks contain similar information so as changes are made to "A" it automatically updates "B".
The problem I currently have is that if "B" is open before "A" and someone updates "A" the changes are not made to "B" and there is no warning. I have shared the workbook in the past but we have found through painful experience that shared workbooks are prone to corruption in certain conditions.
I have found a function WbOpen in these forums but it does not seem to work for us unless the file is open on the same work station. We are saving files to a server and different people access them from different work stations.
All help is appreciated.
What I want is when workbook "A" is opened it checks to see if workbook "B" is open. These 2 workbooks contain similar information so as changes are made to "A" it automatically updates "B".
The problem I currently have is that if "B" is open before "A" and someone updates "A" the changes are not made to "B" and there is no warning. I have shared the workbook in the past but we have found through painful experience that shared workbooks are prone to corruption in certain conditions.
I have found a function WbOpen in these forums but it does not seem to work for us unless the file is open on the same work station. We are saving files to a server and different people access them from different work stations.
All help is appreciated.