-
WSRNCIENG
AskWoody LoungerColeman,
I tested your suggestion and put the following formula in E:
=IF(D1″”,SumForDate(b1),””)
and still it returns a #VALUE!…do you have another suggestion? I would appreciate it.
Thanks
-
WSRNCIENG
AskWoody LoungerAndrew,
Yes this is the same scenerio. Still designing this spreadsheet so the user has as little input as possible. I want to know the sum of the cells in “B” for each date…once the date changes then the summing starts over for that period.
Thanks Andrew for your help
-
WSRNCIENG
AskWoody LoungerBob,
After all the secrets you’ve shared with all your loyal followers (myself included), I will share mine…lol
http://www.mvps.org/access/modules/mdl0042.htm…… however, I don’t think it is much of a secret..after all I found this link on the EK BB thanks to so many that helped me there also.
Good Luck,
-
WSRNCIENG
AskWoody LoungerI would be willing to bet there isn’t a person in here who hasn’t done this very thing…..and like the last post…all u can do is have a few drinks.
However, I found a way to avoid this disaster and thought I would pass it on.
A small download, Scheduler, I found FREE somewhere (don’t remember where) seems to be the BEST lil ol thing u can get. It will schedule just about any task u want it to…in this case exporting the tables to another DB.
With a little bit of coding, I can export these tables to another DB called BackUpTables.
At the end of each day the Scheduler runs the code without me ever touching a key and then I have a daily backup of my tables.
If this is something you are interested in, I would be happy to email the Scheduler Program to u (zip file) and also provide u with the code that does the process for you.
At any rate, I thought I would share that and wish u luck.
-
WSRNCIENG
AskWoody LoungerAndrew,
OMG….U R so GOOD!!!!!! TY TY TY….
Just wish I knew what u did…lol.
I am not sure I understand what the coding is saying…but it works GREAT….
Again TY
-
WSRNCIENG
AskWoody LoungerAndrew,
So Sorry my fault I didn’t make it clearer..(that part of it I have)..I need O2 (??) to show the value of “1701”
Thanks again for your help
-
WSRNCIENG
AskWoody LoungerGood Morning,
I tried Andrew’s first and it worked perfectly…however, I wanted to test Brooke’s suggestion as well and it worked perfectly too.
Thanks to both of you for your quick and accurate solution.
-
WSRNCIENG
AskWoody LoungerGood Morning Andrew,
I appreciate your help with this…one thing tho and that’s cause i’m a dummy…but what do I do with the code? I put it in vb and created a function but nothing is happening…
Thanks,
-
WSRNCIENG
AskWoody LoungerAndrew,
Thanks for your help…it works perfectly….
-
WSRNCIENG
AskWoody LoungerGood Morning Paul….
Excellent!!! Thank you so much for your help…I wish I could do more to repay you but I can’t….You have been a life saver….
Have a nice day and again…THANKS!!!!!!!!!!!
-
WSRNCIENG
AskWoody LoungerPaul,
OK…I think I am almost there. I did the following:
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel97, “PH_Exp$”, “c:HistoryArchivesPH_Exp$” & Format(Date, “mddyy”) & “.xls”, True
and got the attached error.
Thanks again for your help.
-
WSRNCIENG
AskWoody LoungerHi Paul,
I’m not sure if I will explain this correctly, but I will give it a try.
I have some tables that I want to either use the Export or TransferSpreadsheet method with. This data needs to be saved in Excel for archiving purposes. Because it is being archived, adding the date to the end of the name of the table is important.
At this time, that isn’t a problem, however, if I use the Export method, (see below) the user must to know the path in which to save it to.
DoCmd.OutputTo acTable, (strFilename), acFormatXLS, , False
If I use the TransferSpreadsheet method, I continue to get the a runtime error which I have attached. (see below)
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel97, strFilename, “c:HistoryArchivesstrFilename.xls”, True
The thing is is I don’t want the user to have to do anything. I want the table to go straight to the path which is designated in the method.
I am not sure why I can’t add the date (in string format) to the table name and transfer the spreadsheet to the predesignated path.
If you have any suggestions, I would certainly appreciate it.
Thanks alot Paul.
-
WSRNCIENG
AskWoody LoungerPaul,
Thanks for the suggestion, it works perfectly.
I thought the fact that the date 4/27/01 had the forward slashes was giving me an error but what you suggested worked and I still get the error, so I guess it wasn’t the forward slashes after all…….
I do appreciate your help.
Thanks
-
WSRNCIENG
AskWoody LoungerOk…I tried that and got the following msg.
“Labor and Expense History can’t save output date to the the file you’ve selected…….”
I tried this:
DoCmd.OutputTo acTable, “PH_Labor”, acFormatXLS, “G:UsersProjschdHistory ArchivesArchive History LabPH_Labor & strDate.xls “, True
and it works…but puts the name as “PH_Labor & strDate but should be “PH_LABOR4/6/01”. The () around PH_Labor….combines the NAME and strDate.
This works for renaming purposes…but not for Output purposes?????
-
WSRNCIENG
AskWoody LoungerGood Morning,
I am currently running reports and other tasks by using the Scheduler program which you can download for free from ..http://www.mvps.org/access/.
What I did was write a public function to determine what day it was and in the OnOpen event of a hidden form, which is loaded OnOpen of the db, is call the public function. After the reports print, a PrintLog is updated with what reports were printed and when. A dialog also informs of the reports that printed, I click OK…the db closes…until the next day. This way the REPORTS db could house ALL reports that are printed progmatically.
The scheduler program knows what day, time and database to open…then Access does the rest…
Hope this helps and good luck.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Outdated Laptop
by
jdamkeene
1 hour, 32 minutes ago -
Updating Keepass2Android
by
CBFPD-Chief115
1 hour, 45 minutes ago -
Another big Microsoft layoff
by
Charlie
1 hour, 25 minutes ago -
PowerShell to detect NPU – Testers Needed
by
RetiredGeek
1 hour, 14 minutes ago -
May 2025 updates are out
by
Susan Bradley
1 hour, 50 minutes ago -
Windows 11 Insider Preview build 26200.5600 released to DEV
by
joep517
7 hours, 29 minutes ago -
Windows 11 Insider Preview build 26120.3964 (24H2) released to BETA
by
joep517
7 hours, 31 minutes ago -
Drivers suggested via Windows Update
by
Tex265
7 hours, 22 minutes ago -
Thunderbird release notes for 128 esr have disappeared
by
EricB
5 hours, 6 minutes ago -
CISA mutes own website, shifts routine cyber alerts to X, RSS, email
by
Nibbled To Death By Ducks
14 hours, 22 minutes ago -
Apple releases 18.5
by
Susan Bradley
8 hours, 47 minutes ago -
Fedora Linux 40 will go end of life for updates and support on 2025-05-13.
by
Alex5723
15 hours, 48 minutes ago -
How a new type of AI is helping police skirt facial recognition bans
by
Alex5723
16 hours, 25 minutes ago -
Windows 7 ISO /Windows 10 ISO
by
ECWS
1 hour, 15 minutes ago -
No HP software folders
by
fpefpe
1 day ago -
Which antivirus apps and VPNs are the most secure in 2025?
by
B. Livingston
3 hours, 30 minutes ago -
Stay connected anywhere
by
Peter Deegan
1 day, 5 hours ago -
Copilot, under the table
by
Will Fastie
20 hours, 42 minutes ago -
The Windows experience
by
Will Fastie
1 day, 11 hours ago -
A tale of two operating systems
by
Susan Bradley
1 day, 2 hours ago -
Microsoft : Resolving Blue Screen errors in Windows
by
Alex5723
1 day, 17 hours ago -
Where’s the cache today?
by
Up2you2
2 days, 8 hours ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
2 days, 1 hour ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
1 day, 1 hour ago -
Blocking Search (on task bar) from going to web
by
HenryW
3 hours, 43 minutes ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
3 days, 1 hour ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
3 days, 1 hour ago -
regarding april update and may update
by
heybengbeng
3 days, 3 hours ago -
MS Passkey
by
pmruzicka
2 days, 5 hours ago -
Can’t make Opera my default browser
by
bmeacham
3 days, 10 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.