Solved

VBA

Posted on 2004-03-26
5
259 Views
Last Modified: 2010-05-01
I am using VBA in my application that uses access database.

I want my application to run with access97 as well as access2000.

please tell what should i do?

what references should i include in the applicaiton.

thanks
0
Comment
Question by:Neeraj Soni
  • 2
5 Comments
 
LVL 18

Accepted Solution

by:
Sethi earned 40 total points
ID: 10687453
Use late reference. i.e. declare variable like :
Dim objAccess as Object
Set objAccess = CreateObject("Access.Application")
0
 
LVL 18

Expert Comment

by:Sethi
ID: 11261824
I answered the question
0

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Visual Basic Excel Formatting error 4 106
Sending a email via excel using vba 6 82
VBA: Select SQL query based on a config Sheet v2 11 44
Help me. 3 54
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question