-
WSRuff_Hi
AskWoody LoungerUpdate: The ‘Edit / Links’ dialog box shows locked links as ‘Locked’ instead of Man or Auto.
-
WSRuff_Hi
AskWoody LoungerAll links are already set to manual.
I have never heard of locking fields – I just tried it and it seems to work very nicely. How do you tell that the fields are locked? I can imagine someone opening this word doc months down the track and not understanding why the fields don’t update.
-
WSRuff_Hi
AskWoody LoungerCan user form drop downs be multi-select so that I can capture that functionality of the pivot table?
To answer my own question … no. Combo Boxes (the excel name for Dropdowns) from ‘form control’ cannot be multi-select. List boxes can be but you need vba to get the selected items.
An idea is starting to form (ugly combination of combo boxes and expand into list boxes when clicked) that can replicate what I am after.
-
WSRuff_Hi
AskWoody LoungerAlthough you can set up dependant-dropdowns based on what has been selected from a ‘previous’ dropdown, this is not as simple as it sounds. For example, using your data, it is straightforward to create dependant dropdowns that allow you to select USA [/B]from dropdown1, NY from dropdown2 and Rye from dropdown3. I would call this a ‘valid’ selection.
However, having made these dropdown choices, in my experience there is usually nothing to prevent a User from then returning to dropdown1 and selecting England, leaving the three selections showng as England, NY and Rye respectively, which I consider an ‘invalid’ selection.
True. When I set this up for a different spreadsheet, I had it such that if you changed a ‘higher’ drop down, it reset (ie cleared) any ‘lower’ drop down using VBA.
In which case, with VBA, you can achieve what you require. I would create my pivot table with the required page fields, but have a Userform overlaid on top of the pivot’s page fields (to ‘hide’ them). I would then use dropdowns on the Userform to ‘control’ the underlying pivot page fields.
Interesting. I’ll give this a whirl and see what I can knock up. I am assuming that the userform you are talking about is not a floating one but one that is ‘attached’ to tab in question and that the underlying pivot table filters are modified by the VBA as the user changes the userform drop downs.
Can user form drop downs be multi-select so that I can capture that functionality of the pivot table?
-
WSRuff_Hi
AskWoody LoungerI was thinking about this more while I was walking my dog … I have the tables in excel with range names … I could set up a style (red, do not print) in word that held the corresponding excel range name that is one paragraph about the graphic in question … then run an excel macro that does something like this …
-
[*]go to the excel range name
[*]select range name
[*]copy
[*]swap to word
[*]go to the top of the document
[*]search for the range name
[*]go down 1 paragraph
[*]delete the contents of that paragraph
[*]paste as picture
[*]swap back to excelIf I put that in a subroutine and feed it the range name, excel doc name, word doc name then I could call it multiple times with the appropriate range names.
I’ve had plenty of experience coding in excel vba so that wouldn’t be a problem. The word side if things … not so much. Can someone with word vba experience tell me if #5 thru #9 is possible? And is it possible to jump back and forth between excel and word?
-
WSRuff_Hi
AskWoody LoungerWhen I test this on 2010 (on Windows 7), it works fine – the linked picture is visible in all views, and is resizeable.
I am using win XP – maybe that is one of the issues. The other thing is that my Word / Excel 2010 is still set up to use 2003 as the default format. I did try all combinations without much success.
Does it come through as a field?
With regard to a macro to export as a jpg, couldn’t you do the same manually by copying the range in Excel and then pasting as a picture in Word?
I guess I could do that – can excel vba ‘control’ word? If so, do you have an example that I could cheat from?
I was able to use the Paste, Paste Special…,Paste link:, Picture (Windows Metafile) selection to paste an Excel object into Word 2010 and then center it, wrap text {by right-clicking and selecting Format Object}, and resize it {note: when you select the object there is a little handle in the bottom right corner do to this with}.
This is exactly what I have been doing and did repeat.
Options 2 & 3 insert a LINK field code; use Alt-F9 in Word to toggle between the result and field code views. If you have a regular requirement, consider setting up your Word styles to match the Word document formatting and use option #2 to reflect the current values in the linked Excel sheet automatically for you.
I have a special style that I created (‘Graphic’) that is centered, no fixed height, etc that displays the pictures quite nicely.
I’d also recommend setting the Word Option to always display field shading (File | Options, Advanced, Show document control).
I totally do this – also show bookmarks, etc. If you don’t do this and you update the bookmarks, you end up moving the new item outside the boundaries (I often bookmark the date of the report and then link my header to that bookmark).
-
WSRuff_Hi
AskWoody LoungerI’ve been reading other posts in this forum and quite a few of them talk about macros. Re the above, I could see a macro solution being possible …
-
[*]macro in excel to highlight range name and export it as a jpeg (or similar)
[*]macro in excel to import the jpegOne question that I have always had with macros in word is how do I control where actions are done. In excel I can just say ‘activecell’ or range(“A1”) … but how do I do the same sort of thing in word?
-
WSRuff_Hi
AskWoody LoungerI do this all the time with dates, numbers, etc. The way I do it is as follows:
-
[*]Have an excel cell that holds the value I want to put in the word doc
[*]Give that cell a range name
[*]copy the cell
[*]flip over to word and use ‘paste special’ with the following options[*]paste link
[*]paste as ‘unformatted text’[/LIST]
This adds a field that is linked to the excel file / tab / range name. If you Alt-F9 (reveal codes) it should look something like this:
{ LINK Excel.Sheet.8 “C:\blah blah path\blah\blah\workbook.xls” “Sheet1!R11C3” a t }
Changing the value in the workbook and refreshing the link will update the word doc.
-
WSRuff_Hi
AskWoody LoungerI think I will be running the sort process 3 to 5 times (different sort keys) each quarter. I am certainly looking for a ‘set and forget’ approach that doesn’t involved import, sort, export.
-
WSRuff_Hi
AskWoody LoungerlLinkTest = InStr(1, lCell.Formula, “.xls]”)
Yeah – sloppy testing on my behalf. Just found out the above fix during a live demo … sigh.
Also that check will always return 0 for a xl2007 workbook extension.
You might want to just check for both a bracket and an exclamation point.Your check will be quick but not complete as you can also have links in charts, shapes, hyperlinks, names, pivot tables and ?
‘–
Jim Cone
Portland, Oregon USA
( Special Sort add-in )correct – but good enough for what I am after as I am only interested in links in cells.
Thanks for your comments.
-
WSRuff_Hi
AskWoody LoungerThis is what I ended up using
Code:Public Function isHaveLinkedCells() As Boolean Dim lCell As Variant Dim lCells As Range Dim lSheet As Object Dim lLinkTest As Integer ' remember the current location ' StoreCurrent 0 Then isHaveLinkedCells = True GoTo TheEnd End If Next End If Next TheEnd: 'ReturnToCurrent ' you can guess what this does On Error GoTo 0 End Function
-
WSRuff_Hi
AskWoody LoungerWell, it didn’t get some of my numbers correct – but that was mainly because I got my maths wrong
-
WSRuff_Hi
AskWoody LoungerI typically leave it running for a few days and then turn it off for 1 or 2. When the screen starts flickering, I take it out side and blow canned air through it – sometimes I get lots of dust out – sometimes not much.
I was listening to Click and Clack the tappent brothers the other day and they had someone who was living in Alsaska near the recently erupted volcano – they suggested putting a stocking over the air intake of his car to cut the dust intake into his engine.
Sure a car isn’t a pc, but maybe that is an idea. The other option is that I go with a liquid cooled system (next time!). Edit: doh! liquid cooled will still be dust prone.
-
WSRuff_Hi
AskWoody LoungerThx guys. I use the canned air approach now – but would prefer the dust not to get in there. This is my graphics card …
256MB nVidia GeForce 7900 GS (pic is not my actual card – just an image I found that looks similar)
It appears to have a fan right on top of it. I think the main problem is the air intake at the front is basically open with no good filter. Will my machine get too hot if I put some form of linen (or similar) material over the air intake?
-
WSRuff_Hi
AskWoody Loungerthx Bob. I have acronis so imaging / back up is taken care of. I will be steering away from SP3 as I have seen reports that it hoses Media Center – like it did to me.
![]() |
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
-
Use of Gmail rejected.
by
CBFPD-Chief115
1 hour, 45 minutes ago -
WuMgr operational questions
by
Tex265
2 hours, 29 minutes ago -
Beijing’s unprecedented half-marathon: Humans vs. humanoids!
by
Alex5723
7 hours, 33 minutes ago -
New Phishing Campaign Targeted at Mac Users
by
Alex5723
4 hours, 34 minutes ago -
Backing up Google Calendar
by
CWBillow
14 hours ago -
Windows 11 Insider Preview build 27818 released to Canary
by
joep517
1 day, 2 hours ago -
File Naming Conventions (including Folders)
by
Magic66
1 hour, 23 minutes ago -
Windows 11 Insider Preview Build 26100.3613 (24H2) released to Release Preview
by
joep517
1 day, 9 hours ago -
Microsoft sends emails to Windows 10 users about EOS
by
Alex5723
20 hours, 34 minutes ago -
Outlook 2024 importing Calendar and Contacts – FAILURE
by
Kathy Stevens
2 hours, 52 minutes ago -
Adding Microsoft Account.
by
DaveBRenn
1 day, 11 hours ago -
Windows 11 Insider Preview build 26120.3576 released to DEV and BETA
by
joep517
2 days, 10 hours ago -
Windows 11 Insider Preview Build 22635.5090 (23H2) released to BETA
by
joep517
2 days, 11 hours ago -
Windows 11 won’t boot
by
goducks25
3 hours, 40 minutes ago -
Choosing virtual machine product for Windows on Mac
by
peterb
2 days, 1 hour ago -
Rest in Peace
by
Roy Lasris
3 days, 5 hours ago -
CISA : Install Windows March 2025 Updates until April 1 or shut down PC.
by
Alex5723
3 hours, 16 minutes ago -
Google proposes users with incompatible Win 11 PCs to migrate to ChromeOS Flex
by
Alex5723
3 days, 6 hours ago -
Drivers for Epson Perfection V600 Photo – scanner
by
Bookman
2 days, 10 hours ago -
Long Time Member
by
jackpet
3 days, 8 hours ago -
Woody Leonhard (1951–2025)
by
Will Fastie
4 hours, 24 minutes ago -
What I learned from Woody Leonhard
by
B. Livingston
3 days, 2 hours ago -
Windows Settings today
by
Simon Bisson
3 days, 16 hours ago -
Mail Merge magic in Microsoft Word
by
Peter Deegan
15 hours, 2 minutes ago -
Businesses in the crosshairs
by
Susan Bradley
2 days, 6 hours ago -
Double-row taskbar?
by
CWBillow
22 hours, 33 minutes ago -
Upgrading non-supported HW to Win 11
by
RetiredGeek
1 day, 8 hours ago -
Audio locks up after 15 minutes
by
WSArthurR
1 day, 7 hours ago -
Copilot app uninstalled
by
Susan Bradley
1 day, 5 hours ago -
Strongbox Password Manager Sold to Applause Group – Cost Escalation Imminent
by
Paul T
5 days, 2 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.