Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Excel Automation 3    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Excel Autom Fill out form
Lars Schindler 
     
2 years ago
I have a direct application example:
How can I use Excel Automation to fill a given Excel form via Access VBA (see screenshot).
It is about lessons for students on the respective days of the year. If lessons have taken place, the duration is entered in hours (e.g. 1.5 for 1.5 hours), if the student has been absent with an excuse, there is an entry such as 'E' for 'excused absence', otherwise a 'U' for 'unexcused absence'.
The number of hours is added up in column AG, the number of "E" in column AH and the number of "U" in column AI.
The data is already available in Access.
What is the most elegant way to get the data into the corresponding cells using Excel Automation?
Lars Schindler OP  @Reply  
     
2 years ago

Richard Rost  @Reply  
           
2 years ago
It would be very similar to the loop I set up in this video, but you'll add a second loop based on the day in the columns. Then it's just running thru your records with a Recordset.

I could add this example to a Developer lesson, if you'd like.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Excel Automation 3.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 4/12/2026 9:51:47 PM. PLT: 0s