-
WSRuff_Hi
AskWoody LoungerJune 18, 2003 at 11:54 am in reply to: Bold font with System generated Email (Outlook 2002 SP2) #686632I started to play with the .body and .HTMLbody items yesterday. I was thinking that I could just build the message part of the email as per normal (.body = .body & “blah blah blah”) and when I wanted to add a bold item, use the HTMLbody part (.HTMLbody = .HTMLbody & “bold blah blah blah“).
It worked on a quick test that I did but I couldn’t get it to work if I swapped between the two. I really don’t want to code the whole silly email in HTML just to get bold comments.
-
WSRuff_Hi
AskWoody LoungerJune 18, 2003 at 11:51 am in reply to: Bold font with System generated Email (Outlook 2002 SP2) #686631Yes, I had thought of flags – but will this work if I have ‘follow up’ emails spread over a number of folders and over a number of pst files?
-
WSRuff_Hi
AskWoody LoungerRe Q5
I would have thought that all temperatures are the same, no matter what scale they are recorded on. Walk outside in a Nth American winter and you just know its cold! Doesn’t matter if its recorded in F or C (or absolute for that matter).
-
WSRuff_Hi
AskWoody LoungerFantastic – worked like a dream!
These memos will be a work of art any day now!
Thanks a heap.
-
WSRuff_Hi
AskWoody LoungerDid it! Without the use of a macro too.
One of jscher’s link was the kicker. I reset my views using the /cleanviews switch, then removed the preview pane (pain) from my default views (views, current view, define view, modify, other settings and unchecked the ‘show preview pane’.
Thanks all – I can now create new folders without the preview pain being ‘on’ by default.
-
WSRuff_Hi
AskWoody LoungerFantastic!
It wasn’t exactly what I wanted so I put in the following bit of code …
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) Dim lsMessage As String lsMessage = "Do you want to keep a copy of this email?" Item.DeleteAfterSubmit = Not (MsgBox(lsMessage, vbYesNo) = vbYes) End Sub
Thanks for your help.
-
WSRuff_Hi
AskWoody LoungerHi All,
I’ve used a very similar method to create a recurring email where the bulk of the text was a constant but I wanted to add paragraphs at the end of the email that changed.
To do this, I created a text file and typed in the additional paragraphs that I wanted to add. Then opened the text file and read the file in (cannot remember if it was one big string or lots of little ones that I concatenated together) using VB.
Then assigned this string (the standard stuff plus the variable stuff from the text file) to the body of the email. Worked like a dream.
-
WSRuff_Hi
AskWoody LoungerHi Stuart,
What about creating a variable that tells you were you are up to in the form population so you can skip the part of the code that has already been executed.
Alternatively, instead of hiding the form, change the height and width to a smallish value and move it almost off the screen. If it doesn’t release control so that the user can close the preview, then change your now smaller form to include (visible) CLOSE button and use that to close the preview and resume.
-
WSRuff_Hi
AskWoody LoungerDid it. I ended up using VBA to create a replica of the global distribution group in my own contact folder. I used the following code
Private Sub mCCopyGlobalDistList()
Dim lvOLApp As ThisOutlookSession
Dim lvNameSpace As NameSpace
Dim lvGAddressList As AddressList
Dim lvGEntries As AddressEntries
Dim lvGEntry As AddressEntry
Dim lvMember As AddressEntry
Dim lvPDistList As DistListItemSet lvOLApp = CreateObject(“Outlook.Application”)
Set lvNameSpace = lvOLApp.GetNamespace(“MAPI”)
Set lvGAddressList = lvNameSpace.AddressLists(“Global Address List”)
Set lvGEntries = lvGAddressList.AddressEntries
Set lvGEntry = lvGEntries(“Name of Global List Here”)Set lvPDistList = lvOLApp.CreateItem(olDistributionListItem)
lvPDistList.Subject = “Your Version Name Here”For Each lvMember In lvGEntry.Members
Set myTempItem = lvOLApp.CreateItem(olMailItem)
Set myRecipients = myTempItem.Recipients
myRecipients.Add lvMember
lvPDistList.AddMembers myRecipients
NextlvPDistList.Save
Set myRecipients = Nothing
Set myTempItem = Nothing
Set lvPDistList = Nothing
Set lvGEntry = Nothing
Set lvGEntries = Nothing
Set lvGAddressList = Nothing
Set lvNameSpace = Nothing
Set lvOLApp = Nothing
End Sub -
WSRuff_Hi
AskWoody LoungerYes, you are quite correct, it should be deciseconds, not milliseconds. With regards to timer, its a VB / VBA function that comes with the language. Do I have to describe it. Oh ok, here is what I lifted out of the help …
Returns a Single representing the number of seconds elapsed since midnight.
-
WSRuff_Hi
AskWoody LoungerAre you sure? I used format(time, “ss.ms”) and all it gave me was the number of seconds follows by a dot followed by the month number followed by the number of seconds again.
Sort of like 33.1133.
I put together the following which gives me hh:mm:ss.milliseconds and seems to work ok.
Dim lrTimer As Double Dim lrCurrTime As Double Dim lrMilliseconds As Double lrTimer = Timer lrMilliseconds = lrTimer - Int(lrTimer) lrCurrTime = int(lrTimer) / (24& * 60& * 60&) msgbox Format(lrCurrTime, "hh:mm:ss") & _ Format(lrMilliseconds, ".00 - ") & _ Message
-
WSRuff_Hi
AskWoody LoungerHow silly is this. There is a knowledge base article that discusses this issue and suggests a work around – basically close the workbook (saving changes) and then re-open it. It looks like MS are extending the concept of ‘fix all problems with a reboot’.
The knowledge base article is here …
-
WSRuff_Hi
AskWoody LoungerI bet the “m” means months which means that the 01 is correct as the date is 01/01/1900
-
WSRuff_Hi
AskWoody LoungerExcellent. Thanks Andrew.
How about when you reference or dimension an array. For example …
dim lsArray(1% to 10%) as string lsArray(1%) = "Hello World!"
as opposed to …
dim lsArray(1 to 10) as string lsArray(1) = "Hello World!"
-
WSRuff_Hi
AskWoody Loungerhang on, hang on, hang on …
now that is just getting carried away. Who said that he didn’t declare his variables. He does, and he follows the naming convension too.
However, he does put things like
dim i as integer for i = 1% to 5%
in his code instead of
dim i as integer for i = 1 to 5
Therefore, I was asking what the ‘%’s meant and wondering if there was any difference between the two.
![]() |
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
2 hours, 15 minutes ago -
Stay connected anywhere
by
Peter Deegan
2 hours, 16 minutes ago -
Copilot, under the table
by
Will Fastie
54 minutes ago -
The Windows experience
by
Will Fastie
1 hour, 7 minutes ago -
A tale of two operating systems
by
Susan Bradley
1 hour, 2 minutes ago -
Microsoft : Resolving Blue Screen errors in Windows
by
Alex5723
4 hours, 23 minutes ago -
Where’s the cache today?
by
Up2you2
19 hours, 43 minutes ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
12 hours, 29 minutes ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
3 hours, 28 minutes ago -
Blocking Search (on task bar) from going to web
by
HenryW
20 hours, 24 minutes ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
1 day, 12 hours ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
1 day, 13 hours ago -
regarding april update and may update
by
heybengbeng
1 day, 14 hours ago -
MS Passkey
by
pmruzicka
16 hours, 30 minutes ago -
Can’t make Opera my default browser
by
bmeacham
1 day, 22 hours ago -
*Some settings are managed by your organization
by
rlowe44
1 day, 8 hours ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
1 day, 21 hours ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
2 days, 16 hours ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
3 days, 1 hour ago -
AI slop
by
Susan Bradley
19 hours, 45 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
3 days, 3 hours ago -
Two blank icons
by
CR2
11 hours, 17 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
13 hours, 15 minutes ago -
End of 10
by
Alex5723
3 days, 14 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
2 days, 12 hours ago -
test post
by
gtd12345
3 days, 20 hours ago -
Privacy and the Real ID
by
Susan Bradley
3 days, 10 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
1 day, 13 hours ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
4 days, 1 hour ago -
Upgrading from Win 10
by
WSjcgc50
2 days, 12 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.