I used the following in Excel 2003 but it give a 'Compile Error: Can't find project or library' in Excel 2007
Any help would be appreciated
If Left(iVal, 2) <> "00" Then
iVal = "00" & iVal
ElseIf Left(iVal, 1) <> "0" Then
iVal = "0" & iVal
End If
I used the following in Excel 2003 but it give a 'Compile Error: Can't find project or library' in Excel 2007
Any help would be appreciated
If Left(iVal, 2) <> "00" Then
iVal = "00" & iVal
ElseIf Left(iVal, 1) <> "0" Then
iVal = "0" & iVal
End If
In the VBE, Tools > References, untick any marked MISSING.
Entia non sunt multiplicanda sine necessitate
References is Greyed Out
Press the Reset button on the Debug toolbar, or Run > Reset
Thanks
Problem solved!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks