-
richardbarrett
AskWoody LoungerThank you very much.
Richard -
richardbarrett
AskWoody LoungerIf you want to assign the current selection to a variable, use Selection.Value.
-
richardbarrett
AskWoody LoungerSo it’s not the image you’re cutting and pasting — it’s the filename. Assign the file name to a variable (you haven’t supplied that part of the code), and then use the variable as the picture name. In the above code, where did you get “c:projectpicturesmypict1.jpg”?
-
richardbarrett
AskWoody LoungerTry: Selection.Paste
-
richardbarrett
AskWoody LoungerAugust 7, 2016 at 10:30 pm in reply to: Missing full stops and semicolons at end of paragraphs in Word 2010 #1573671I thought that Grammarly sounded interesting, so I downloaded the install file. A while later, I got an email informing me of the “plans”. They range from about $12 a month (paid annually) to $30 a month (paid monthly).
-
richardbarrett
AskWoody LoungerThanks to both of you for that information.
Richard -
richardbarrett
AskWoody LoungerThank you…. this is helpful. I tried writing RibbonX code to hide this task, and Excel ignores it. Must be modern authentication is the only thing that affects it.
Novogazztrian?
Richard
-
richardbarrett
AskWoody LoungerThere is a recent security update to Office that can cause this. You need to locate the add-in file in explorer, right-click it and then unblock it.
Would you please explain what is meant by “unblock”?
Thanks.
-
richardbarrett
AskWoody LoungerThis is a simple way to achieve this:
Code:Sub gtg() Dim x As Long again: Selection.Find.ClearFormatting With Selection.Find .Text = “gtg” .Forward = True End With Selection.Find.Execute Selection.Delete Selection.MoveLeft Unit:=wdCharacter, Count:=1 Selection.MoveRight Unit:=wdCharacter, Count:=5, Extend:=wdExtend Selection.Cut Selection.HomeKey Unit:=wdLine Selection.Paste Selection.TypeText Text:=” ” x = Selection.movedown(Unit:=wdLine, Count:=1) If x = 0 Then Exit Sub End If GoTo again: End Sub
-
richardbarrett
AskWoody LoungerJanuary 3, 2016 at 12:22 am in reply to: multiple selection of interrogative sentences in word document #1544662Then using the code I sent previously, apply the style instead of the highlight. Of course you’ll want to be sure that QuestionStyle (or whatever style name you use) exists in the document, otherwise you’ll get an error. You can trap the error with code, but if you’re the sole user, you might not need to.
Code:Sub selectQuestions() Dim rng As Range Dim s As Range For Each s In ActiveDocument.Sentences Set rng = s rng.MoveEnd wdCharacter, -1 If rng.Characters.Last = “?” Then rng.Style = “QuestionStyle” End If Next End Sub
-
richardbarrett
AskWoody LoungerDecember 31, 2015 at 3:39 pm in reply to: multiple selection of interrogative sentences in word document #1544397What is it that you want to do with the selected blocks of text? VBA simply cannot select multiple contiguous blocks of text. Have a look at the following MS knowledge base article:
-
richardbarrett
AskWoody LoungerDecember 31, 2015 at 2:02 pm in reply to: multiple selection of interrogative sentences in word document #1544381Although selecting non-contiguous text is offered by Word when working interactively, it is not possible to do this with VBA. You can highlight (or apply some other distinctive attribute) to the questions, and then process your highlighted chunks of test.
Code:Sub selectQuestions() Dim rng As Range Dim s As Range For Each s In ActiveDocument.Sentences Set rng = s rng.MoveEnd wdCharacter, -1 If rng.Characters.Last = “?” Then rng.HighlightColorIndex = wdBlue End If Next End Sub
-
richardbarrett
AskWoody LoungerOfficeNNStartup was for a long time the default Startup folder. Some of the folks I work with resist change (sometimes with good reason) and continue to use that. It’s a single location on a PC and doesn’t require delivery of startup templates to each user’s profile. I understand the desire for easy distribution, but each version of Windows/Office has made it a bit less satisfactory (for security reasons, of course). For example, on a Citrix server where a number of users share the C: drive, admin folks prefer this Startup folder. It’s usually a level below the folder where WinWord.exe is located. VBA’s Application.Path returns that folder, and it’s easy to add subfolder Startup. Sometimes this folder is user for universal startup templates, and practice group startup templates are delivered to the roaming profile startup folders for specific PG members.
-
richardbarrett
AskWoody LoungerNoted. But it does not appear when I right-click the Word icon on the Start menu. In any case, that is not the point. I’m asking what the option does… what is the advantage, if there is one?
-
richardbarrett
AskWoody LoungerI right-clicked on the Word tile because I want to add it to the taskbar. The option does not appear with Word 2010, it does appear with Word 2013 and 2016. I’m wondering that the advantage is, other than relating to updates (which I found by Googling).
![]() |
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
-
Who knows what?
by
Will Fastie
23 minutes ago -
My top ten underappreciated features in Office
by
Peter Deegan
32 minutes ago -
WAU Manager — It’s your computer, you are in charge!
by
Deanna McElveen
3 hours, 18 minutes ago -
Misbehaving devices
by
Susan Bradley
3 hours, 20 minutes ago -
.NET 8.0 Desktop Runtime (v8.0.16) – Windows x86 Installer
by
WSmeyerbos
20 hours, 56 minutes ago -
Neowin poll : What do you plan to do on Windows 10 EOS
by
Alex5723
16 hours, 40 minutes ago -
May 31, 2025—KB5062170 (OS Builds 22621.5415 and 22631.5415 Out-of-band
by
Alex5723
19 hours, 30 minutes ago -
Discover the Best AI Tools for Everything
by
Alex5723
19 hours, 39 minutes ago -
Edge Seems To Be Gaining Weight
by
bbearren
9 hours, 48 minutes ago -
Rufus is available from the MSFT Store
by
PL1
17 hours, 51 minutes ago -
Microsoft : Ending USB-C® Port Confusion
by
Alex5723
1 day, 20 hours ago -
KB5061768 update for Intel vPro processor
by
drmark
1 day, 3 hours ago -
Outlook 365 classic has exhausted all shared resources
by
drmark
20 minutes ago -
My Simple Word 2010 Macro Is Not Working
by
mbennett555
1 day, 16 hours ago -
Office gets current release
by
Susan Bradley
1 day, 19 hours ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
3 days, 9 hours ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
2 days, 17 hours ago -
Stop the OneDrive defaults
by
CWBillow
3 days, 9 hours ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
3 days, 19 hours ago -
X Suspends Encrypted DMs
by
Alex5723
3 days, 22 hours ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
3 days, 22 hours ago -
Botnet hacks 9,000+ ASUS routers to add persistent SSH backdoor
by
Alex5723
3 days, 23 hours ago -
OpenAI model sabotages shutdown code
by
Cybertooth
3 days, 23 hours ago -
Backup and access old e-mails after company e-mail address is terminated
by
M W Leijendekker
3 days, 11 hours ago -
Enabling Secureboot
by
ITguy
3 days, 18 hours ago -
Windows hosting exposes additional bugs
by
Susan Bradley
4 days, 7 hours ago -
No more rounded corners??
by
CWBillow
4 days, 3 hours ago -
Android 15 and IPV6
by
Win7and10
3 days, 17 hours ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
4 days, 19 hours ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
4 days, 22 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.