Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old February 15th, 2006, 09:25 PM
Sean
Guest
 
Posts: n/a
Default Filename or path difficulty in a macro

Hi, all - I am having trouble running a macro in Access 2000. In an
action within the macro, it is set up to import data from an excel
file. When I try to run it, I get an error message:

The Microsoft Jet database enginecould not find the object
'(filename)'. Make sure the object exists and that you spell its name
and the path name correctly.

This macro works fine on the computer of the person sending it to me,
but when I unzip it, I get the error message, even after I adjust the
filename to include the path to my local directory.

Any help is greatly appreciated




  #2  
Old February 15th, 2006, 11:15 PM
Br@dley
Guest
 
Posts: n/a
Default Re: Filename or path difficulty in a macro

Sean wrote:[color=blue]
> Hi, all - I am having trouble running a macro in Access 2000. In an
> action within the macro, it is set up to import data from an excel
> file. When I try to run it, I get an error message:
>
> The Microsoft Jet database enginecould not find the object
> '(filename)'. Make sure the object exists and that you spell its name
> and the path name correctly.
>
> This macro works fine on the computer of the person sending it to me,
> but when I unzip it, I get the error message, even after I adjust the
> filename to include the path to my local directory.
>
> Any help is greatly appreciated[/color]

Try importing the Excel file manually to make sure that works?
--
regards,

Br@dley


  #3  
Old February 16th, 2006, 07:05 PM
Sean
Guest
 
Posts: n/a
Default Re: Filename or path difficulty in a macro

it definitely works. In the macro designed to Transfer the spreadsheet
into the database, I can manually change the filename so that it's
tailored to my computer (ie. Filename: c:\My Documents\Filename to
c:\Documents and Settings\...\Filename, where the dot dot dot is my
actual path). what I'm looking for is what to type so that I don't
have to enter it manually, so that the database will find it. Not a
big deal for me, but then I have to deploy this to a team of people who
it would be time-intensive to teach how. It would just be a lot easier
if there is something streamlined I could put in so it's all ready to
run when it shows up on other people's pcs.

again, any help would be great.

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,414 network members.