-
Bonriki
AskWoody LoungerRG Thanks for that
Did a compile and doesn’t like line “Sheet1.Select” which I changed to read “Monthly Report.Select” and the userform is not populating with the saved data -
Bonriki
AskWoody LoungerPhil,
Then in the Workbook_Open event I’d check for this temp sheet and if it exists automatically display the form and load it with the values from the temp worksheet and then delete the temp sheet. This should keep things nice and tidy.
If you want to make your code easier to maintain you could make a subroutine out of the part that saves the data and then just call the subroutine with the sheet to which the data should be saved! One block of code to maintain then if you add or delete fields from the form.
HTH :cheers:
RG
I am having trouble with this bit, checking the sheet exists and then populating the form with the existing data.Your idea of a separate module looks good too.
-
Bonriki
AskWoody LoungerRG hi again
The file is set as an xltm so the save function would be xlsx but of course that will not allow further editing. The intention is that staff generate the report monthly and send to Commercial Manager for compilation in to consolidated report.-
[*]Yes a partial record
[*]Yes save automatically
[*]Have a Save for Edit button
[*]In the workbook is OK or maybe an external file
[*]Single user workbook -
Bonriki
AskWoody LoungerThanks Maude
No it wasn’t a test I could not disable the start up code using the usual hold the shift key when opening, so couldn’t get access to the code -
Bonriki
AskWoody LoungerThanks Martin
No code and about 40 sheets missing -
Bonriki
AskWoody LoungerTried it didn’t work, same result.
I have attached the file to see if you can get into it42785-StaffTrainingRecords -
Bonriki
AskWoody LoungerAndrew
Thanks very much for this
I have had to massage my files a bit but what you say makes sense and works a treat.I will deploy tomorrow and hopefully!! no problems
-
Bonriki
AskWoody LoungerThe code hasn’t changed since you developed it but I would be interested in seeing how you would change
Om another matter can you recommend a good text(s) as a reference for VBA coding
-
Bonriki
AskWoody LoungerAndrew hi
I have finally managed to get this sorted. Seems AD doesn’t differentiate between case although it does seem to in some cases!!Next question, how can I make the userform dynamic because the signatures used by the various staff range from 1 – 8 and in varying order. This makes the userform look pretty awful.
-
Bonriki
AskWoody LoungerThanks Andrew
The login details I have, have come from our IT guys. The IT guys inform me that there should not be any difference in the login verification for online or VPN even though there clearly is some difference. We do not have different passwords for each.Tried your suggestion and confirms my login
Have searched around and tried various forms of the same, VBA.Environ(……, Environ$(……, VBA.Environ$(…., checked the ToolsReferences and all seems OK. I have even tried concatenating the Domain name as part of the UserName
-
Bonriki
AskWoody LoungerAndrew
Another twist. I was certain the code worked fine after I changed the username detail. But connected via wifi at work didn’t want to recognise my login. However, just checked gin at home via VPN and all works fine.Not sure what that is about!!!
-
Bonriki
AskWoody LoungerAndrew and RG
Discovered that we use the user initials as the Environ”UserName” so as soon as I changed mine to PGC every thing worked for both examples.Andrew I tend to agree with you the code is much cleaner, need to examine it more closely to understand how it works!
-
Bonriki
AskWoody LoungerThanks Andrew
I can’t see any difference in the way this performs. It still loads the blank form in the background and then pops the warning message. So my UserName is not being recognised. -
Bonriki
AskWoody LoungerSure
It is in the attached *.dotm, frmSigInsert -
Bonriki
AskWoody LoungerYes
Checked my username and it is of the same format “Phil Carter”. As stated I have set myself as supervisor, not that I need to use the signatures, but because I need to verified that the links work.
![]() |
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
-
Upgrade from Windows 10 to 11
by
Holdsworth8
1 hour, 58 minutes ago -
Microsoft : AI-powered deception: Emerging fraud threats and countermeasures
by
Alex5723
4 hours, 49 minutes ago -
0patch
by
WSjcgc50
1 hour, 17 minutes ago -
Devices might encounter blue screen exception with the recent Windows updates
by
Susan Bradley
1 hour, 55 minutes ago -
Windows 11 Insider Preview Build 22631.5261 (23H2) released to Release Preview
by
joep517
7 hours, 48 minutes ago -
Problem opening image attachments
by
RobertG
9 hours, 22 minutes ago -
advice for setting up a new windows computer
by
routtco1001
1 day ago -
It’s Identity Theft Day!
by
Susan Bradley
4 hours, 24 minutes ago -
Android 15 require minimum 32GB of storage
by
Alex5723
1 day, 4 hours ago -
Mac Mini 2018, iPhone 6s 2015 Are Now Vintage
by
Alex5723
1 day, 5 hours ago -
Hertz says hackers stole customer credit card and driver’s license data
by
Alex5723
1 day, 5 hours ago -
Firefox became sluggish
by
Rick Corbett
1 day, 2 hours ago -
Windows 10 Build 19045.5794 (22H2) to Release Preview Channel
by
joep517
1 day, 9 hours ago -
Windows 11 Insider Preview Build 22635.5235 (23H2) released to BETA
by
joep517
1 day, 10 hours ago -
A Funny Thing Happened on the Way to the Forum
by
bbearren
7 hours, 15 minutes ago -
Download speeds only 0.3Mbps after 24H2 upgrade on WiFi and Ethernet
by
John
1 hour, 49 minutes ago -
T-Mobile 5G Wireless Internet
by
WSmmi16
7 hours, 56 minutes ago -
Clock missing above calendar in Windows 10
by
WSCape Sand
9 hours, 8 minutes ago -
Formula to Calculate Q1, Q2, Q3, or Q4 of the Year?
by
WSJon5
2 days ago -
The time has come for AI-generated art
by
Catherine Barrett
1 day, 4 hours ago -
Hackers are using two-factor authentication to infect you
by
B. Livingston
1 day, 14 hours ago -
23 and you
by
Max Stul Oppenheimer
1 day, 21 hours ago -
April’s deluge of patches
by
Susan Bradley
1 hour, 41 minutes ago -
Windows 11 Windows Updater question
by
Tex265
2 hours, 2 minutes ago -
Key, Key, my kingdom for a Key!
by
RetiredGeek
3 days, 6 hours ago -
Registry Patches for Windows 10
by
Drcard:))
3 days, 11 hours ago -
Cannot get line length to NOT wrap in Outlining in Word 365
by
CWBillow
2 days, 17 hours ago -
DDU (Display Driver Uninstaller) updates
by
Alex5723
2 days, 3 hours ago -
Align objects on a OneNote page
by
CWBillow
3 days, 16 hours ago -
OneNote Send To button?
by
CWBillow
3 days, 17 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.