AndyDevine1
Board Regular
- Joined
- Jun 1, 2006
- Messages
- 172
Hi
What is the code change to change 'DataSheet1' to N
where n = activesheet.name
Original code:
Range(Cells(10, 1), Cells(j, 1)).Value = "=IFERROR(INDEX(List!C[1],MATCH('DataSheet1'!RC[4],List!C[1],0),1),0)"
This doesnt work:
Range(Cells(10, 1), Cells(j, 1)).Value = "=IFERROR(INDEX(List!C[1],MATCH('n'!RC[4],List!C[1],0),1),0)"
Many thanks
Andy
What is the code change to change 'DataSheet1' to N
where n = activesheet.name
Original code:
Range(Cells(10, 1), Cells(j, 1)).Value = "=IFERROR(INDEX(List!C[1],MATCH('DataSheet1'!RC[4],List!C[1],0),1),0)"
This doesnt work:
Range(Cells(10, 1), Cells(j, 1)).Value = "=IFERROR(INDEX(List!C[1],MATCH('n'!RC[4],List!C[1],0),1),0)"
Many thanks
Andy