473,394 Members | 1,721 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,394 software developers and data experts.

Automating Access 2007 with Excel Form

Hello,

I want to be able to control an access database objects from the excel front-end to do the following:

Create a dynamic query containing all or some of the fields in the access table using an excel form to select the parameters.. My user does not even want to interact with Access at all.

Thanks

Tj
Jan 18 '11 #1
3 1947
pod
298 100+
Look-wise, there is not much difference between a form in Excel and one in Access. I think it would be easier to work with a form in Access code-wise.


... but if it is what you want check out his link:
http://vbaexcel.eu/vba-macro-code/da...-using-vba-dao
Jan 18 '11 #2
Pod,

Thanks for replying. I check the site.It gives some insights. But is it possible to run an access macro that creates a query in excel. I want the creation of my query in the database to be dynamic. Thanks.
Jan 20 '11 #3
pod
298 100+
whenever someone asked me if it possible to do this or that, I always say yes even if I don't know yet how to do it but I tell them it might take some researching if so ...


My suggestion to you is go in small steps:
  • make a connection to the database from your Workbook
  • create your SQL statement from the selected fields in Excel
  • run the query ...
Jan 20 '11 #4

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

Similar topics

1
by: garry.oxnard | last post by:
Can anyone help me to solve a problem which involves switching from Access to Excel (then back to Access) programatically please? I have an Excel template which, on open, also opens an Access...
3
by: Michael | last post by:
I work with a highly programmed Access database (some 15,000 lines of VBA code, much of it automating data entry on forms -- and believe me, it's very tight code). In Access 97, 2000, 2002, and...
4
by: Peter | last post by:
Access 2007 optionally opens forms as tabs. There is an Access Option that controls this - Access Options Current Database Document Window Options Tabbed Documents. But how, from VBA, can I...
2
by: Brad Williams | last post by:
I have a linked Sub Form in Access 2007. It is designed to only show one Record. (Always 1). How do I Hide / Remove the Record Navigation bar for the subform? Thanks Brad
0
by: ARC | last post by:
Hello, I like the split forms in access 2007, because you can still do the header, and any tool buttons, yet have the datasheet look without the need for 2 forms (main form / subform). However,...
1
by: mcleod1517 | last post by:
I am changing the FILTER, ORDERBY, and ORDERBYON attributes of an Access 2007 form. I have code tied to buttons on the form that resort and/or refilter the records of a datasource based on user...
9
by: prakashwadhwani | last post by:
Hi !! I'm about to develop a new project for a client. Should I go about it in Access 2003 or 2007 ? Purchasing it either for me or for my client is not a major consideration here ... what I'd...
2
by: StorminPE | last post by:
Greetings, I have an access 2007 database. In there I have 3 tables with a relationship between the three tables. The three tables’ consist of 1 user table, 1 type of equipment, and another...
0
by: avtuvy | last post by:
My Access 2007 access application includes a split form, The user updates or enters data to the top part of the form (text boxes) and than click a button to save the data. with thedefault settings of...
2
Oralloy
by: Oralloy | last post by:
I've created a form in Access-2007. The form is not bound to any tables or queries. It is for data entry and programatic purposes only. The goal of the form is to provide a workspace where a...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.