Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-21-2017, 08:25 AM
ArviLaanemets ArviLaanemets is offline Macro to add new date entries to existing records in database Windows 8 Macro to add new date entries to existing records in database Office 2016
Expert
 
Join Date: May 2017
Posts: 949
ArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant future
Default

In this version, Badge's for report are queried from Assessment sheet, and the report table is expanding/shrinking automatically. The query uses a fixed named range as source, and is created from menu Data > From other Sources > From Microsoft Query with Excel Files* as data source.

To eliminate the need of editing the query, I added an Open event, which adjusts query automatically, whenever workbook is moved or renamed. Having an Open event in workbook was the reason for change of workbook format to xlsm. To get the query to work, the workbook must be saved somewhere.

The query is refreshed automatically whenever the workbook is opened. During session you have to refresh it manually, when the need arises.
Attached Files
File Type: xlsm Assessments.xlsm (25.2 KB, 13 views)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to add new date entries to existing records in database When using a 'Master' template, if number of records change, subsequent records will not be read MailMergeConfused Mail Merge 5 07-28-2016 05:07 PM
Macro to add new date entries to existing records in database Macro to make all entries look like first entry msdelaney Word 1 07-27-2015 07:13 PM
Macro to add new date entries to existing records in database edit date in footer of existing slides eNGiNe PowerPoint 6 05-27-2015 05:39 AM
Formula for decimal hours from two date time entries DBenz Excel Programming 0 01-15-2015 05:52 AM
How Can I Flag Duplicate Date Entries? tatihulot Excel 5 11-16-2012 12:19 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:48 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft