Seamus2626
asked on
Check for tab in another workbook
Hi, if i have a WB in path in
R:\XYZ\BORRIS INFO\CURRENT.XLS
Can i have formula in a cell which contains a an IF, asking, IF current.xls contains tab "Combined Data", "You have not saved file", ""
Thanks
R:\XYZ\BORRIS INFO\CURRENT.XLS
Can i have formula in a cell which contains a an IF, asking, IF current.xls contains tab "Combined Data", "You have not saved file", ""
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
problem here Rob, is that when i process my file and Combined Data dissapears, my error message turns to
=IFERROR(('X:\YOK\Boris Info\ME_Voris_Project\ME Downloads\[CurrentMonth.xl sx]#REF'!$ A$1),"New Data saved")
Maybe i could use code and a button?
Thanks
=IFERROR(('X:\YOK\Boris Info\ME_Voris_Project\ME Downloads\[CurrentMonth.xl
Maybe i could use code and a button?
Thanks
Well that is a change to the original question.
Yes you could use VBA to check if the other workbook includes a sheet called Combined Data.
The code would attempt to select the sheet in the other Workbook and if it produces an error rather than throwing you out of the code it returns an error message.
Thanks
Rob H
Yes you could use VBA to check if the other workbook includes a sheet called Combined Data.
The code would attempt to select the sheet in the other Workbook and if it produces an error rather than throwing you out of the code it returns an error message.
Thanks
Rob H
ASKER
I've requested that this question be closed as follows:
Accepted answer: 0 points for Seamus2626's comment #a40229137
for the following reason:
Il repost the VBA Q
Accepted answer: 0 points for Seamus2626's comment #a40229137
for the following reason:
Il repost the VBA Q
The question was answered as originally worded.
ASKER
I've requested that this question be closed as follows:
Accepted answer: 0 points for Seamus2626's comment #a40229418
for the following reason:
Sorry! That was meant to be award points!
Accepted answer: 0 points for Seamus2626's comment #a40229418
for the following reason:
Sorry! That was meant to be award points!
ASKER
Trying to award points
When raising the VBA question, include a link to this question.
About to travel for the rest of the day so may not see the VBA question come in, but if I do I will see if I can make a suggestion.
Thanks
Rob H
About to travel for the rest of the day so may not see the VBA question come in, but if I do I will see if I can make a suggestion.
Thanks
Rob H
ASKER
Okay, i see, the VBA q was answered quickly by Randy
Thanks Rob
Thanks Rob
ASKER
ASKER