Solved

VBA

Posted on 2004-03-26
5
258 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now