The code interupts with:
"Compile error: Can't find project or library"
on hitting OK it goes into the VBA editor.
The word "Format" is highlited
What do I need to get format to work?
--
CroceJC
--
__________________________________
HTH
Bob
"jc" <j...@discussions.microsoft.com> wrote in message
news:2EF24466-850A-498E...@microsoft.com...
HTH,
Barb Reinhardt
--
__________________________________
HTH
Bob
"Barb Reinhardt" <BarbRe...@discussions.microsoft.com> wrote in message
news:1D8E3F4C-1CD9-4BC5...@microsoft.com...
HTH,
Eric
--
__________________________________
HTH
Bob
"jc" <j...@discussions.microsoft.com> wrote in message
news:4D6FFF83-9B76-46FE...@microsoft.com...
Jim Thomlinson
--
Dave Peterson
Actually, there is. It is the VBA library and the Format function,
like any function, can be overridden by a function in a library with
higher precedence.
Function Format(X As Double) As Double
Format = X * 2
End Function
Sub AAA()
' two very different Format functions
Debug.Print Format(10)
Debug.Print VBA.Strings.Format(10)
End Sub
Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)