-
WSBodders
AskWoody LoungerBaiju
I think if you replace the DAY($L2) with 1 in the formula it should work correctly.
Nick
-
WSBodders
AskWoody LoungerSteve
I had a similar problem, and I got round it by creating a separate form with the calendar object on it. I used the Click event on various command buttons with a calendar image on them to open the calendar form modally. The code also sets a global control variable according to which date control has to receive the date. There is an OK command button on the calendar form which sets the date on the global control variable, and then closes the calendar form.
I found this to much easier than having several calendar controls on the user form itself. Let me know if you need any more details.
Nick
-
WSBodders
AskWoody LoungerLee
Using the function Year(Date) will give you the current year
Nick
-
WSBodders
AskWoody LoungerDecember 7, 2007 at 1:27 pm in reply to: Crosstab query as recordsource for form (Access 20 #1087295Hans
Thanks for the pointers – I think I can re-use Zave’s code.
Nick
-
WSBodders
AskWoody LoungerLucas
You could create a table to contain the boilerplate text with a line number field in it, and then read it using a loop into a string variable. I have done this before, and used asterisks to bracket variables, e.g. *username*. Once the string has been created, you then use the Replace function to substitute the actual variables for the *…* text.
HTH
Nick
-
WSBodders
AskWoody LoungerAndy
There is a free product Database Compare 2.0 at http://www.starinix.com[/url%5D which is very useful.
Nick
-
WSBodders
AskWoody LoungerAndy
Something like this should do :
Set qdf = CurrentDb.QueryDefs(rst(“Queryname”))
qdf.Execute (dbFailOnError)
“Total recs amended = ” & qdf.RecordsAffectedNick
-
WSBodders
AskWoody LoungerRory
An excellent bit of coding – thanks very much for that
Nick
-
WSBodders
AskWoody LoungerHans
Thanks for that quick answer. I’m not expecting the arrays to be too large – probably 20/25 elements, so that should work fine.
Nick
-
WSBodders
AskWoody LoungerHans
Just picked up this code to add to my date function library.
Many thanks for your usual high standards
Nick
-
WSBodders
AskWoody LoungerI think it may depend on what your “certain number” consists of. If it is the first x of the total number of records, and assuming the total records are less than 65,000, the simplest solution might be to use DoCmd.TransferText to import the whole file, and then to create a range consisting of rows from x+1 to the end, and then delete those rows.
Nick
-
WSBodders
AskWoody LoungerSteve
Without seeing the details of your list it’s difficult to know how many countries are involved, but this web page might provide useful information as the basis for a lookup :
http://www.iso.org/iso/english_country_nam…d_code_elements%5B/url%5D
Nick
-
WSBodders
AskWoody LoungerMike
I looked up some old code & it is possible you need to set the Solid property before the Transparency :
With XLshp
With .Fill
.Solid
.ForeColor.SchemeColor = 9
.Transparency = 0.5
End With
.Line.Style = msoLineSingle
.Line.Visible = msoTrue
End WithHTH
Nick
-
WSBodders
AskWoody LoungerMike
I’m not sure exactly why it fails, but you could try creating the chart in code without the progress bar, then record a new macro, create the progress bar manually, and view the code after you have done it. This should show what is happening.
Nick
-
WSBodders
AskWoody LoungerIan
Joel Spolsky is excellent on general GUI design :
http://www.joelonsoftware.com/uibook/chapt…0000000057.html%5B/url%5D
Nick
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
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
-
Discover the Best AI Tools for Everything
by
Alex5723
7 hours, 31 minutes ago -
Edge Seems To Be Gaining Weight
by
bbearren
2 hours, 18 minutes ago -
Rufus is available from the MSFT Store
by
PL1
18 hours, 30 minutes ago -
Microsoft : Ending USB-C® Port Confusion
by
Alex5723
20 hours, 39 minutes ago -
KB5061768 update for Intel vPro processor
by
drmark
3 hours, 4 minutes ago -
Outlook 365 classic has exhausted all shared resources
by
drmark
18 hours, 50 minutes ago -
My Simple Word 2010 Macro Is Not Working
by
mbennett555
16 hours, 24 minutes ago -
Office gets current release
by
Susan Bradley
19 hours, 2 minutes ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
2 days, 9 hours ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
1 day, 17 hours ago -
Stop the OneDrive defaults
by
CWBillow
2 days, 9 hours ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
2 days, 19 hours ago -
X Suspends Encrypted DMs
by
Alex5723
2 days, 22 hours ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
2 days, 22 hours ago -
Botnet hacks 9,000+ ASUS routers to add persistent SSH backdoor
by
Alex5723
2 days, 22 hours ago -
OpenAI model sabotages shutdown code
by
Cybertooth
2 days, 23 hours ago -
Backup and access old e-mails after company e-mail address is terminated
by
M W Leijendekker
2 days, 11 hours ago -
Enabling Secureboot
by
ITguy
2 days, 18 hours ago -
Windows hosting exposes additional bugs
by
Susan Bradley
3 days, 7 hours ago -
No more rounded corners??
by
CWBillow
3 days, 3 hours ago -
Android 15 and IPV6
by
Win7and10
2 days, 17 hours ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
3 days, 19 hours ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
3 days, 22 hours ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
3 days, 17 hours ago -
Windows Update orchestration platform to update all software
by
Alex5723
4 days, 5 hours ago -
May preview updates
by
Susan Bradley
3 days, 17 hours ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
3 days, 8 hours ago -
Just got this pop-up page while browsing
by
Alex5723
3 days, 22 hours ago -
KB5058379 / KB 5061768 Failures
by
crown
3 days, 19 hours ago -
Windows 10 23H2 Good to Update to ?
by
jkitc
2 days, 21 hours ago
Recent blog posts
Key Links
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
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.