M
mike allen
I have a function that works fine in a workbook by itself, but when I
attempt to add that function to another workbook (simply combining 2 into
1), I get an error message:
"Compile Error Can't find project or library."
then it highlights in yellow the entire function line and highlights in blue
"Format" in the line:
maturitymonth = CInt(Format(maturity, "mm"))
The odd thing is it works fine when by itself. It only does this when I add
this function into a large workbook with other functions and subs and
worksheets. Any ideas? thanks, mike allen
attempt to add that function to another workbook (simply combining 2 into
1), I get an error message:
"Compile Error Can't find project or library."
then it highlights in yellow the entire function line and highlights in blue
"Format" in the line:
maturitymonth = CInt(Format(maturity, "mm"))
The odd thing is it works fine when by itself. It only does this when I add
this function into a large workbook with other functions and subs and
worksheets. Any ideas? thanks, mike allen