Hello,
I have a variable that store a file directory:
Dim eSAUK as String
eSAUK = "\\corpusfs12\PROJECT-REPORTS\Pathfinder Reporting\Heather Lations\EMEA WEEKLY PHONE REPORT\2014\EMEA SA UK.xlsx"
and a vlook formula:
ActiveCell.Formula = "=VLOOKUP(B3,'[" & eSAUK & "]Table1'!$A:$B,2,0)"
Instead of returning:
=VLOOKUP(B3,'[\\corpusfs12\PROJECT-REPORTS\Pathfinder Reporting\Heather Lations\EMEA WEEKLY PHONE REPORT\2014\EMEA SA UK.xlsx]Table1!$A:$B,2,0)
it return like this:
=VLOOKUP(B3,'[\\corpusfs12\PROJECT-REPORTS\Pathfinder Reporting\Heather Lations\EMEA WEEKLY PHONE REPORT\06.12.2014\[EMEA SA UK.xlsx]Table1]EMEA SA UK.xlsx]Table1'!$A:$B,2,0)
it doubles. Can anyone help me to sort this out?
Bookmarks