Is it possible to remove the dates in a comment? I want to keep the comment as a balloon, but I want to remove notice of when they were made.
![]() |
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 |
-
Remove comment dates (Word XP)
Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Remove comment dates (Word XP)
- This topic has 9 replies, 4 voices, and was last updated 20 years, 7 months ago.
AuthorTopicWScbran250
AskWoody LoungerOctober 9, 2004 at 1:55 am #410841Viewing 2 reply threadsAuthorReplies-
macropod
AskWoody_MVPOctober 9, 2004 at 8:47 pm #886645Hi,
I have Word 200, not XP, and Word 2000 doesn’t have a ‘date’ attribute for comments – only an ‘author’ attribute. In Word 2000, ‘author’ is a property of the Comment object and can be changed, as in:
If ActiveDocument.Comments.Count >= 1 Then
With ActiveDocument.Comments(1)
.Author = “Joe Smith”
.Initial = “JAS”
End With
End If(from the Word help file)
You may find that the date in XP can also be edited this way, though you may not be able to delete it.
Cheers
Cheers,
Paul Edstein
[Fmr MS MVP - Word] -
macropod
AskWoody_MVPOctober 9, 2004 at 8:47 pm #886646Hi,
I have Word 200, not XP, and Word 2000 doesn’t have a ‘date’ attribute for comments – only an ‘author’ attribute. In Word 2000, ‘author’ is a property of the Comment object and can be changed, as in:
If ActiveDocument.Comments.Count >= 1 Then
With ActiveDocument.Comments(1)
.Author = “Joe Smith”
.Initial = “JAS”
End With
End If(from the Word help file)
You may find that the date in XP can also be edited this way, though you may not be able to delete it.
Cheers
Cheers,
Paul Edstein
[Fmr MS MVP - Word] -
WSStuartR
AskWoody LoungerOctober 9, 2004 at 9:28 pm #886650This Macro will delete all comments in the document and add them back. It preserves the Author, Initials, Text and Range – but sets the date/time to the time it runs.
StuartR
Sub CommentDatesToNow()
Dim i As Integer
Dim cmntNew As Comment
Dim strAuthor As String
Dim strInitial As String
Dim strText As String
Dim rngPosition As RangeFor i = ActiveDocument.Comments.Count To 1 Step -1
With ActiveDocument.Comments(i)
strAuthor = .Author
strInitial = .Initial
strText = .Range.Text
Set rngPosition = .Reference.Duplicate
.Delete
End With
Set cmntNew = ActiveDocument.Comments.Add(Range:=rngPosition, Text:=strText)
cmntNew.Author = strAuthor
cmntNew.Initial = strInitial
Next iSet cmntNew = Nothing
Set rngPosition = NothingEnd Sub
-
WScbran250
AskWoody LoungerOctober 11, 2004 at 6:25 pm #887159That code worked flawlessly and fast. I am not that familiar with the macro language, but I am guessing that this macro inserts a duplicate and then deletes the original, which leaves the comment with the present date. Given the other posts in the thread, it seems like the date in a comment cannot simply be deleted but only reset to the present. Is this correct?
Thanks,
cbran250
-
WSStuartR
AskWoody LoungerOctober 11, 2004 at 8:24 pm #887211Absolutely correct. The code stores the Author, Initials, Text and Document Range from the original comment, then deletes it and adds it back again. If you had fancy font formatting, embedded fields or other unusual things in comments they would get lost – but it works fine for standard comments.
StuartR
-
WSStuartR
AskWoody LoungerOctober 11, 2004 at 8:24 pm #887212Absolutely correct. The code stores the Author, Initials, Text and Document Range from the original comment, then deletes it and adds it back again. If you had fancy font formatting, embedded fields or other unusual things in comments they would get lost – but it works fine for standard comments.
StuartR
-
-
WScbran250
AskWoody LoungerOctober 11, 2004 at 6:25 pm #887160That code worked flawlessly and fast. I am not that familiar with the macro language, but I am guessing that this macro inserts a duplicate and then deletes the original, which leaves the comment with the present date. Given the other posts in the thread, it seems like the date in a comment cannot simply be deleted but only reset to the present. Is this correct?
Thanks,
cbran250
-
Viewing 2 reply threads -

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
-
Trump signs Take It Down Act
by
Alex5723
55 minutes ago -
Do you have a maintenance window?
by
Susan Bradley
1 hour, 21 minutes ago -
Freshly discovered bug in OpenPGP.js undermines whole point of encrypted comms
by
Nibbled To Death By Ducks
2 hours, 29 minutes ago -
Success Knows No End in the World of Online Slots (Awaiting moderation)
by
isobelhartmann1
2 hours, 38 minutes ago -
Cox Communications and Charter Communications to merge
by
not so anon
4 hours, 15 minutes ago -
Help with WD usb driver on Windows 11
by
Tex265
9 hours, 24 minutes ago -
hibernate activation
by
e_belmont
13 hours, 10 minutes ago -
Red Hat Enterprise Linux 10 with AI assistant
by
Alex5723
16 hours, 57 minutes ago -
Windows 11 Insider Preview build 26200.5603 released to DEV
by
joep517
20 hours, 2 minutes ago -
Windows 11 Insider Preview build 26120.4151 (24H2) released to BETA
by
joep517
20 hours, 4 minutes ago -
Fixing Windows 24H2 failed KB5058411 install
by
Alex5723
13 minutes ago -
Out of band for Windows 10
by
Susan Bradley
1 day ago -
Giving UniGetUi a test run.
by
RetiredGeek
1 day, 7 hours ago -
Windows 11 Insider Preview Build 26100.4188 (24H2) released to Release Preview
by
joep517
1 day, 15 hours ago -
Microsoft is now putting quantum encryption in Windows builds
by
Alex5723
1 hour, 24 minutes ago -
Auto Time Zone Adjustment
by
wadeer
1 day, 19 hours ago -
To download Win 11 Pro 23H2 ISO.
by
Eddieloh
1 day, 17 hours ago -
Manage your browsing experience with Edge
by
Mary Branscombe
22 hours, 6 minutes ago -
Fewer vulnerabilities, larger updates
by
Susan Bradley
10 hours, 32 minutes ago -
Hobbies — There’s free software for that!
by
Deanna McElveen
16 hours, 56 minutes ago -
Apps included with macOS
by
Will Fastie
14 hours, 48 minutes ago -
Xfinity home internet
by
MrJimPhelps
11 hours, 35 minutes ago -
Convert PowerPoint presentation to Impress
by
RetiredGeek
1 day, 12 hours ago -
Debian 12.11 released
by
Alex5723
2 days, 16 hours ago -
Microsoft: Troubleshoot problems updating Windows
by
Alex5723
2 days, 20 hours ago -
Woman Files for Divorce After ChatGPT “Reads” Husband’s Coffee Cup
by
Alex5723
2 days ago -
Moving fwd, Win 11 Pro,, which is best? Lenovo refurb
by
Deo
3 hours, 46 minutes ago -
DBOS Advanced Network Analysis
by
Kathy Stevens
3 days, 13 hours ago -
Microsoft Edge Launching Automatically?
by
healeyinpa
3 days, 4 hours ago -
Google Chrome to block admin-level browser launches for better security
by
Alex5723
1 day, 1 hour 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.