-
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
![]() |
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
-
Which antivirus apps and VPNs are the most secure in 2025?
by
B. Livingston
59 minutes ago -
Stay connected anywhere
by
Peter Deegan
5 hours, 2 minutes ago -
Copilot, under the table
by
Will Fastie
1 hour, 34 minutes ago -
The Windows experience
by
Will Fastie
1 hour, 49 minutes ago -
A tale of two operating systems
by
Susan Bradley
3 hours, 47 minutes ago -
Microsoft : Resolving Blue Screen errors in Windows
by
Alex5723
7 hours, 8 minutes ago -
Where’s the cache today?
by
Up2you2
22 hours, 29 minutes ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
15 hours, 14 minutes ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
6 hours, 13 minutes ago -
Blocking Search (on task bar) from going to web
by
HenryW
23 hours, 10 minutes ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
1 day, 15 hours ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
1 day, 15 hours ago -
regarding april update and may update
by
heybengbeng
1 day, 17 hours ago -
MS Passkey
by
pmruzicka
19 hours, 15 minutes ago -
Can’t make Opera my default browser
by
bmeacham
2 days ago -
*Some settings are managed by your organization
by
rlowe44
1 day, 11 hours ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
1 day, 23 hours ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
2 days, 19 hours ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
3 days, 4 hours ago -
AI slop
by
Susan Bradley
22 hours, 30 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
3 days, 5 hours ago -
Two blank icons
by
CR2
14 hours, 3 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
16 hours, 1 minute ago -
End of 10
by
Alex5723
3 days, 17 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
2 days, 15 hours ago -
test post
by
gtd12345
3 days, 23 hours ago -
Privacy and the Real ID
by
Susan Bradley
3 days, 13 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
1 day, 15 hours ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
4 days, 3 hours ago -
Upgrading from Win 10
by
WSjcgc50
2 days, 15 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.