I am using the following code that pulls numbers from a closed book based on book name with the cell. It keeps showing error at line: "LR = ExecuteExcel4Macro("match(" & myMax & "," & myFormula & "c1:c1,1)")" - any help would be greatly appreciated as I am not too familiar with VBA very much. This is the full code that I am using and I am attaching my workbook so you can see what this supposed to do.
For my example: The workbook called "Danielle Barrigar" would pull the numbers & finds the name in workbook "Captain" on sheet "ART Yearly Numbers" and put based off the date in the agents sheet. Any help would be greatly appreciated.
Bookmarks