Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Big Problem with Excel 2000 / 2003


Hi Newsgroup

I have a problem and I don't know how to handle.

I have received a File from a friend which was originally made in Excel
2000. I have 2003 installed.

For some updates I made the following function in his file:

Public Function DateAsText(d As Variant) As String
DateAsText = Format(d, "dd.mm.yyyy")
End Function

In the Excel Cells i use this function like '=DateAsText(AC256) several
times

So. On my PC everything works fine. But when I send it to my friend to try
he has big errors because his excel can't find the command Format...

So I tried this on a PC with office 2000 installed and didn't get this file
opened because excel every time has fatal errors.

Then I deactivated Macros for having a look what happens. Following
situation is given:

When I use the file of my friend and opening VBA-Editor for research i found
out that intellisense don't work and the function Format is not supported (I
have macros activated)???
But on the same machine, when I open Excel and create a function like
written above intellisense works fine and the function is supported.

Is there a problem with the file, format or has someone an idea how to
handle this?

Thanks alot.

Best regards

D. H. Lee


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Big Problem with Excel 2000 / 2003

How arre you transfering the file between you computer and your friends
computer? If you are e-mailing the file there may be a firewall that is
disabling some of the excel functionality. Try moving the file beween
computers by using a memory stick raather than e-mail.

"don H. Lee" wrote:

Hi Newsgroup

I have a problem and I don't know how to handle.

I have received a File from a friend which was originally made in Excel
2000. I have 2003 installed.

For some updates I made the following function in his file:

Public Function DateAsText(d As Variant) As String
DateAsText = Format(d, "dd.mm.yyyy")
End Function

In the Excel Cells i use this function like '=DateAsText(AC256) several
times

So. On my PC everything works fine. But when I send it to my friend to try
he has big errors because his excel can't find the command Format...

So I tried this on a PC with office 2000 installed and didn't get this file
opened because excel every time has fatal errors.

Then I deactivated Macros for having a look what happens. Following
situation is given:

When I use the file of my friend and opening VBA-Editor for research i found
out that intellisense don't work and the function Format is not supported (I
have macros activated)???
But on the same machine, when I open Excel and create a function like
written above intellisense works fine and the function is supported.

Is there a problem with the file, format or has someone an idea how to
handle this?

Thanks alot.

Best regards

D. H. Lee



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Big Problem with Excel 2000 / 2003


Your Function works in Excel 2000


--
royUK

Hope that helps, RoyUK
For tips & examples visit my 'web site' (http://www.excel-it.com/)
------------------------------------------------------------------------
royUK's Profile: http://www.thecodecage.com/forumz/member.php?userid=15
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=38806

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Big Problem with Excel 2000 / 2003


Open the workbook with the problem (on the problem PC)
Go into the VBE
Select that workbook's project
Click on Tools|References, look for a MISSING reference.

Delete it or replace it with one that you need.

Missing references can cause errors that have no relationship to the line that's
marked as error.

====
You'll want to find the culprit so that you can fix it in your copy before you
send it to other recipients.

"don H. Lee" wrote:

Hi Newsgroup

I have a problem and I don't know how to handle.

I have received a File from a friend which was originally made in Excel
2000. I have 2003 installed.

For some updates I made the following function in his file:

Public Function DateAsText(d As Variant) As String
DateAsText = Format(d, "dd.mm.yyyy")
End Function

In the Excel Cells i use this function like '=DateAsText(AC256) several
times

So. On my PC everything works fine. But when I send it to my friend to try
he has big errors because his excel can't find the command Format...

So I tried this on a PC with office 2000 installed and didn't get this file
opened because excel every time has fatal errors.

Then I deactivated Macros for having a look what happens. Following
situation is given:

When I use the file of my friend and opening VBA-Editor for research i found
out that intellisense don't work and the function Format is not supported (I
have macros activated)???
But on the same machine, when I open Excel and create a function like
written above intellisense works fine and the function is supported.

Is there a problem with the file, format or has someone an idea how to
handle this?

Thanks alot.

Best regards

D. H. Lee


--

Dave Peterson
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
Problem running VBA 2000 code in Excel 2003 Smurfette18 Excel Programming 3 December 14th 07 09:34 PM
Problem sorting in Excel 2000 vs. 2003 David P. Excel Discussion (Misc queries) 3 April 26th 07 03:56 AM
Excel 2000 vs 2003 programming problem? Andre Croteau Excel Programming 1 November 28th 06 02:11 PM
Problem with Excel 2000 / 2003 TonTon165 Excel Discussion (Misc queries) 0 July 17th 06 08:14 PM
Calender Object problem in Excel 2000 and 2003 Suketu Excel Discussion (Misc queries) 0 April 20th 06 08:29 PM


All times are GMT +1. The time now is 05:35 AM.

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

About Us

"It's about Microsoft Excel"