473,397 Members | 2,084 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,397 software developers and data experts.

Can I export Form&subform fields to excel cells in template

Hi all who wish to help,

I have created a database that contains five different tables. Each linking to a main table through an ID.

The database opens asking for an ID. When ID is input and the relevant command button is clicked a form opens spplying details for this individual as well as any other data from the other tables in subforms.

The overall form and subforms are based on queries.

I want to export the data to excel, on seperate spreadsheets for each query which i have completed successfully using the 'Transferspreadsheet' function.

The problem here is I cannot reformat the column headings.

I would also liek the data to be exported into excel using a template so that each query has it's own worksheet but then each field is exported into a particular cell.

I have used the advice on the following link at tektips:

http://www.tek-tips.com/faqs.cfm?fid=7171

which works only for the data in the overall form but not the subform data/queries. Does anybody know a way that I could use this to export the additional queries to worksheets within the same workbook and in their own cells?

Any help appreciated.


Thanks
Feb 23 '11 #1
1 1510
TheSmileyCoder
2,322 Expert Mod 2GB
It is certainly possible. Start by posting the code you have, so we have a starting point to proceed from.
Feb 24 '11 #2

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

Similar topics

4
by: Dave Boyd | last post by:
Hi, I have two very similar forms each with a subform. The main form gets a few fields from the user and passes this back to a query that the subform is bound to. The requery is done when the...
11
by: mrowe | last post by:
I am using Access 2003. (I am also using ADO in the vast majority of my code. I recently read a post that indicated that ADO is not all that is was initially cracked up to be. In the back of my...
4
meLady
by: meLady | last post by:
Hello, I have a form called feedback with a subform called feedback Options. I did some counting calculation in master form "feedback" at the bottom page. the calculation is about count the...
1
by: solargovind | last post by:
Hi, I have one Form in which i have one subform also which links together by one common_id(Payment_id). When i display record, I need to delete Current record in both form & Table. I used the...
8
by: Christina123 | last post by:
Currently working with Microsoft Office 2000 and whatever version of Access came with that. I am developing a database to track the comings and goings of shared tools. Everything works...
3
by: wquatan | last post by:
Hi I have a Form with a SubForm The Form is bound to a Query, and is used for navigation. In the event Form_Current there is : wrkField = Me!TableField SubForm.requery
7
by: PotatoChip | last post by:
Ok, I have a form and a subform. The form shows a document with it's pertinent information. The subform has some of the same fields as the form and shows where the document was sent. The main form...
1
by: z.ghulam | last post by:
Hi, I have 2 subforms embedded within a main form. Whenever I do a Filter, the data in the main form appears, but nothing shows in either subform? Is there a way round this? I was using the...
0
by: paulquinlan100 | last post by:
Hi I have 2 tables with a 1 to many relationship a Pipeline table which can have several impacts (impacts table). What i want to achieve is a form in datasheet view where the impact columns...
10
by: edgalljr | last post by:
I have a Button on a form that filters on 2 fields using the following code: Private Sub cmd_NavyDue_Click() With Me .FilterOn = True DoCmd.ApplyFilter , " = 'NAVY' And >1" Me.OrderBy =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.