Advertisement

03.01.2008 at 11:07AM PST, ID: 23206437
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.2

Create a Excel document using VBA or VB using specific MS ACCESS Data tables and fields

Asked by danlooper in Access Coding/Macros, Miscellaneous Programming, Microsoft Excel Spreadsheet Software

Tags: ,

Create a Excel document using VBA or VB using specific MS ACCESS Data tables and fields to create a variety of excel worksheets with specified names on the sheets and  data placed in specified location on certain sheets.

 The data is in several tables in the database  and the table names are know and the  fields are know,  with this information known  I then know where I want to place the information in the excel document what worksheet  by name and the cells that it can be pasted to.  I have been reviewing the object model for vba and access and excel and am unsure  how to accomplish this.  I have over 150 database where I need to pull several small pieces of data from.  I will provide samples below.

The example is as follows: ultimatly saved as an excel firstphase.xls

( there will be several worksheets but the first will be called - worksheet name: buildings

The cells that the various data will be places is as follows:

from ms access  database named:  probuild
the table that data is to be pulled form is tblbuildingcodes
and the first field fromt he table that I need all  records from buildingname this information in asc order  

i.e. probuild.tblbuildingcodes.buildingname
will be placed in cell starting at A6 ( down the page)


the next field from the table will be buildingcode
i.e. probuild.tblbuildingcodes.buildingcode
and this will be placed in the excel worksheet starting at cell d6

I need to label with fix text  cells a1, a2,a3,a4, a6, and the same for d1-5.
i.e. cell d1 builing
d2 western
d3 sections
fieldname (from tblbuildingcode) ( if this can be done other wise I will jsut hard code it np.)

then save the excell sheet to the same folder where the database is located and called firstphase.xls

I hope that there is someone out there that can help me with this issue, I have been going over the internet looking for help with creating excel docs using vba in ms access but have not found enough defined to aid in the process I am trying to work out otherwise it will take forwaver to copy and paste the data from 150 or more different databases.

Thank you very much!
Start Free Trial
[+][-]03.01.2008 at 02:03PM PST, ID: 21023817

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.03.2008 at 11:49AM PST, ID: 21034963

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.03.2008 at 03:23PM PST, ID: 21036760

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.04.2008 at 01:40PM PST, ID: 21045397

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.04.2008 at 06:13PM PST, ID: 21047190

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Access Coding/Macros, Miscellaneous Programming, Microsoft Excel Spreadsheet Software
Tags: ms access, vba to create excel document
Sign Up Now!
Solution Provided By: rheitzman
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.19.2008 at 06:33PM PDT, ID: 21602944

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]05.23.2008 at 06:14PM PDT, ID: 21637196

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]05.31.2008 at 08:05PM PDT, ID: 21685839

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628