Hi experts and gurus,
I have a created a Maturity Date Slicer and written a VBA code to select maturity dates that falls within 30 days after a month end.
The code is as under:
The date in the Worksheet ("30Days") is translated by following formula "Text(Value,"DD-MMM-YYYY")", whereas the maturity date in the source worksheet is also in the same data format.Please Login or Register to view this content.
While running the macro code I am getting error 2042. The error is in "If IsNumeric(x)" line. I am researching to change this statement for more than 2 hours but with no success. Can somebody help me to fix this line and come up with the solution?
Thank you
Roshan Shakya
Bookmarks