Dear all,
I created a macro that open a second workbook when I open the first workbook. Both contains a "Contacts" worksheet that I reference in a few places. Both contact list are needed but I only maintain the one in the first workbook and then want to update the same sheet in the second workbook everytime I start the first one.
At first I simply deleted the sheet in the second workbook; " WBOpen1.Sheets("Contacts").Delete " and then copy the same sheet from the fist workbook;
" WBOpen.Sheets("Contacts").Copy After:=WBOpen1.Sheets(10) " . This works fine but then all the formulas in the second workbook that reference this worksheet loses it reference;
for instance this formula " =IFERROR(VLOOKUP(D6,Contacts!$B$4:$G$278,5,FALSE),"------") " becomes this " =IFERROR(VLOOKUP(D6,#REF!,5,FALSE),"------") "
Any suggestion will be highly appreciated
Bookmarks