Home |
Search |
Today's Posts |
#9
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
There is no specific library for Format.
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) On Thu, 10 Sep 2009 12:07:09 -0700, Jim Thomlinson wrote: There is no specific library for Format. If you have a missing reference then it will highlight a function at random and throw the error. When you open your file on a 2002 machine under references in VBA - Tools - References one of the references will be tagged as "Missing:". Any reference to one of the other MS Office programs such as Word or Access is a likely candidate. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Get a VB "Compile error in hidden module: DistMon" at start | Excel Discussion (Misc queries) | |||
How correct (or remove) "Compile error in hidden module: DistMon" | Excel Discussion (Misc queries) | |||
Error: "Compile error in hidden module: Main" | Excel Programming | |||
Compile Error in Excel 2004 when Inputbox contains "VBCRLF" | Excel Discussion (Misc queries) | |||
Getting "compile error" "method or data member not found" on reinstall | Excel Programming |