T
Tony
To me, our macro is really convoluted and backwards as a way to copy
data. I didn't develop it - but I have to fix the code. I'll try to
explain without going into specific details unless there's no other
way about it.
We import data from a clients provided Excel workbook (roughly 25
sheets) into a single inhouse spreadsheet. The client recently
modified a couple of things in their workbook that broke our VB macro.
Originally, the clients tabs were named (for example) Cover, TOC,
XYZ1, XYZ2, XYZ3, etc.. and recently they have been renamed to ABC
Cover, ABC TOC, ABC XYZ1, ABC XYZ2,... Not a big deal.
What I need is a way for the macro to determine if the workbook data
being imported has the 'Cover' tab or if it's not there to substitute
'ABC Cover' (or vice versa), and related worksheets, etc.. I need the
macro to continue to read the old way plus their new way in one macro
instead of having two seperate macros to read the different tab names.
I would post the code here, but it is in 14 different Modules and I
probably couldn't post enough to be clear.
Respond personally or the list. If you contact me directly, I can
share the code.
TIA
-Tony
data. I didn't develop it - but I have to fix the code. I'll try to
explain without going into specific details unless there's no other
way about it.
We import data from a clients provided Excel workbook (roughly 25
sheets) into a single inhouse spreadsheet. The client recently
modified a couple of things in their workbook that broke our VB macro.
Originally, the clients tabs were named (for example) Cover, TOC,
XYZ1, XYZ2, XYZ3, etc.. and recently they have been renamed to ABC
Cover, ABC TOC, ABC XYZ1, ABC XYZ2,... Not a big deal.
What I need is a way for the macro to determine if the workbook data
being imported has the 'Cover' tab or if it's not there to substitute
'ABC Cover' (or vice versa), and related worksheets, etc.. I need the
macro to continue to read the old way plus their new way in one macro
instead of having two seperate macros to read the different tab names.
I would post the code here, but it is in 14 different Modules and I
probably couldn't post enough to be clear.
Respond personally or the list. If you contact me directly, I can
share the code.
TIA
-Tony