473,396 Members | 1,918 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Searching for Excel

1,271 Expert 1GB
I'm writing an application for a client that is clinging tightly to the old days. They still run XP and Office 2003 on most of their machines. I'm developing in a Win 7/Office 2007 environment.

One of their programs is written to import data from Excel. There is no reference to Excel until / unless you run that program.

They have a test machine for me. It has Access Runtime installed, along with Office 2003. When they launch my program (front-end .accde linked to several .mdb files) they get a message "Searching for Excel." It appears for around 10 seconds and then disappears.

When they launch my program using the .accdb version of the same database, they get an error message. They can click through it and continue. Various odd errors pop up when we're testing (we don't test the import anymore, it works okay). Also, one error I've seen perplexes me
-Error 3075, line 0 function is unavailable in expression in query expression Format(Lastcalldate,"mm/dd/yy")

Is that saying Format function is unavailable?

All this stuff works well for me in my testing on both runtime and full Access. Any ideas about why we see the various messages and errors?

Thanks,
Jim
Dec 11 '14 #1
3 1150
twinnyfo
3,653 Expert Mod 2GB
Jim,

So, your project does not call for Excel, but when they open your project in Access RT, you get the Excel Message?

And for the Error 3075, is there any possible way you could be able to pinpoint where in the code this error is being generated? I can only assume that you use the Format() Function in multiple places in the code?

I've seen strange things happen after a compile, but not quite that strange....
Dec 11 '14 #2
jforbes
1,107 Expert 1GB
This may be what you are getting into, or at least similar since you are crossing versions of Access: http://support.microsoft.com/kb/194374

You also might be running into some late binding issues. With late binding, which you can do to Excel, you get around some versioning with Office. The downs side is that there is no reference the library so the compiler can't check for errors and possibly in this case the count of arguments may be off.

... Just some thoughts.
Dec 11 '14 #3
jimatqsi
1,271 Expert 1GB
Yes, I get this "searching for..." message, but only from the .accde version, not the .accdb version. I have very little experience with .mde/.accde files. Those files make it impossible to break into the code when an error message pops up. I'll add some logging within the program if I have to.

Thanks for that link, jf, that may be very helpful. And I may have to change to late binding.

Thanks,

Jim
Dec 11 '14 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Bernd Muent | last post by:
Hi together, I am using the following code in Visual Basic to open Word or Excel applications: Word: Dim w As Word.Application w = CType(CreateObject("Word.application"), Word.Application)...
3
by: Boris Condarco | last post by:
Hi gurus, I'm using excel 2000 to show data that comes from datagrid. The problem is that for any reason the asp.net application maintains the excel open, even though, i do close it. Besides,...
1
by: thehumantrashcan | last post by:
Hi, This is the first database I have ever created, so please bear with me. I've created a simple database with 1 column and about 80,000 rows. In each row is a word (basically a dictionary...
0
by: Eric | last post by:
Hi all, First i appoligise for my bad english. For a friend i need to create a script that can read XLS documents. Well that's not the problem anymore... with the code (down here) i've already...
10
by: Esmael | last post by:
Hi to all, /*****************************/ OS-WIn XP SP2 VB6 SP6 /*****************************/ Is their anyone who can help me with this: Source code written on VB6.
4
by: Yoduh | last post by:
Hello, I'm fairly new to javascript. I'm making a website for my personal use that will read from Excel and display some data on an HTML page and I've been learning javascript as I go. A problem...
7
by: Stephenoja | last post by:
Hello Guys, I have a challenge here and would really appreciate some help. I have customer bills that are all done in excel with a template and stored in directories by month order. At the end...
1
by: DennisBetten | last post by:
First of all, I need to give some credit to Mahesh Chand for providing me with an excellent basis to export data to excel. What does this code do: As the title says, this code is capable of...
0
by: ASPnewb1 | last post by:
Hello, I'm trying to execute a find command on my Excel obj to find if a value exists in only one column, not the whole worksheet, what I had before that works (if the whole worksheet is...
4
by: =?Utf-8?B?THluZXJz?= | last post by:
Hello All, We have a VB.NET application writen using VS 2003. This application apens an excel file from a vendor, reads the data and performs whatever functions it needs. We recently upgraded our...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.