This is driving me nuts and Im hoping that someone knows what is going on. I have a simple 1 col table on sheet 1 with a list of dates. On sheet 2 of the same workbook, I have a table with 10 rows which contains end of month dates from 30 Nov 2017 to 31 Aug 2018 (30 Nov 2017, 31 Dec 2017 .... 31 Aug 2018).
Through VBA, I am converting the dates on the table on sheet1 through a worksheetfunction.eomonth formula. Later in the same code, I use the worksheetfunction.match formula to match the EOMonth dates to the dates on sheet2. However, for reasons totally beyond me, I get the unable to get match error.
Now here is the freaky part - if I abandon VBA and mimic the code using the same spreadsheet formulas - there is no problem in getting a Match.
What the hell is going on here?????????
Through VBA, I am converting the dates on the table on sheet1 through a worksheetfunction.eomonth formula. Later in the same code, I use the worksheetfunction.match formula to match the EOMonth dates to the dates on sheet2. However, for reasons totally beyond me, I get the unable to get match error.
Now here is the freaky part - if I abandon VBA and mimic the code using the same spreadsheet formulas - there is no problem in getting a Match.
What the hell is going on here?????????