Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 110
Default Which library does the Format function comes from?

Hi All

Can anyone tell me which library does the Format function come from?

E.g.: MsgBox Format(Date, "dd/mm/yy")

I am having troubles with it compiling on some colleagues computers.

How do I find this out for myself?

Cheers
Chrisso
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Which library does the Format function comes from?

It's in VBA.Strings

Temporarily you get probably get it to work by fully qualifying

MsgBox VBA.Strings.Format(Date, "dd/mm/yy")

however if you need to do that it strongly suggests you've either got a
missing reference (Tools, References) or a reference has been saved against
a newer ref but the file is being used with an older one.

Regards,
Peter T


"Chrisso" wrote in message
...
Hi All

Can anyone tell me which library does the Format function come from?

E.g.: MsgBox Format(Date, "dd/mm/yy")

I am having troubles with it compiling on some colleagues computers.

How do I find this out for myself?

Cheers
Chrisso



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
missing library makes Format() disappear Dan Williams Excel Programming 2 February 27th 09 04:32 PM
Old format or invalid type library Vinod Lewis Excel Programming 0 December 22nd 08 01:12 PM
Alphabetizing in Library Format Ekroeten Excel Worksheet Functions 1 October 30th 06 02:17 PM
Old Format or Invalid Type Library David Excel Programming 2 November 1st 05 11:39 AM
HELP:old format or invalid type library Iliopoulos Dimitris Excel Programming 0 June 2nd 04 06:01 PM


All times are GMT +1. The time now is 11:29 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"