-
WSrory
AskWoody LoungerDecember 15, 2016 at 8:15 am in reply to: Excel 2010 Customize Ribbon – Wrong XLAM Folder Reference #1586879Have a look at the Excel.officeUI file in C:users%username%appdatalocalmicrosoftoffice
You’d be better off using the CustomUI part of the add-in to do your ribbon customisations – then it won’t matter where the file is.
-
WSrory
AskWoody LoungerI think you’ll need a loop like this:
Code:Sub Clear_Data() Dim Sh As Integer Dim LR As Long Dim cell As Range Application.ScreenUpdating = False For Sh = 3 To Worksheets.Count With Worksheets(Sh) LR = .Cells(.Rows.Count, "A").End(xlUp).Row If LR < 15 Then LR = 15 On Error Resume Next For Each cell In .Range("A15:M" & LR).SpecialCells(xlCellTypeConstants).Cells If cell.DisplayFormat.Interior.ColorIndex = xlColorIndexNone Then cell.ClearContents Next cell On Error GoTo 0 End With Next Sh Application.ScreenUpdating = True End Sub
-
WSrory
AskWoody LoungerThe first thing I would suggest is removing the reference to ActiveSheet completely:
Code:Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Target.Count > 1 Then Exit Sub If Target.Row = 1 Then Exit Sub '--------------------------------------- 'TOGGLE PRINT CHECKS (COLUMN P) If Not Intersect(Target, Columns("B:B")) Is Nothing Then CHECKS.Show Target.Offset(0, 1).Select End If If Not Intersect(Target, Columns("P:P")) Is Nothing Then If Target.Value = "" Then Target.Value = "a" Else: Target.Value = "" End If Target.Offset(0, -1).Select End If End Sub
since it really shouldn’t be there anyway (as your sheet might not be active at the time).
-
WSrory
AskWoody LoungerI think you basically just need to change the function type to Variant rather than String, and add a line to CDbl the result.
-
WSrory
AskWoody LoungerThe short answer is no, I’m afraid. The only function that does anything similar is IFERROR. For other functions you need to use a helper column.
-
WSrory
AskWoody LoungerNovember 15, 2016 at 7:56 am in reply to: Excel VBA ComboBox “.ShowDropButtonWhen = fmShowDropButtonWhenFocus” Error 438 #1584133You need to access those properties of the actual control through the Object property of the OLEObject itself:
Code:.Object.ShowDropButtonWhen = fmShowDropButtonWhenFocus
-
WSrory
AskWoody LoungerNovember 10, 2016 at 7:38 am in reply to: Excel Pivot Table Value Field Settings for Median #1583804There is no workaround – you can’t add functions to that dropdown, and there is no way to calculate what you need with a calculated field either. If you have Power Pivot it might be possible. Failing that, you’d have to use formulas outside (or instead of) your pivot table.
-
WSrory
AskWoody Lounger7369.2054 has the fixes in. Did you try to update?
-
WSrory
AskWoody LoungerThere were a few bugs with forms introduced in the September updates, but the latest release should fix them. Have you tried updating your Office installation? Which build do you have?
-
WSrory
AskWoody LoungerThat is not what I see, nor what I would expect. If the box will fit on the screen when it is underneath the drop down, that is where it should appear; otherwise, it will appear to the right.
To be clear, I mean that you should scroll the screen so that B10 is the first visible row in the sheet.
-
WSrory
AskWoody LoungerIt’s the combobox trying to fit the whole list on screen without obscuring the dropdown part. (if you scroll the screen up, the list appears where it does for the earlier rows).
-
WSrory
AskWoody LoungerYou can also just double any quotes inside the formula string:
Code:Range("K2:K100").Formula = "=IF(OR(B2=""HOL"",B2=""VAC""),B2,E2)"
-
WSrory
AskWoody LoungerOctober 13, 2016 at 9:21 am in reply to: How Do I Sort a Pivot Table on Grand Total with Multiple Columns? #1581316As I said – right-click the Plant field, choose Sort, then ‘more sort options’ and choose to sort using the value field.
-
WSrory
AskWoody LoungerOctober 13, 2016 at 8:50 am in reply to: How Do I Sort a Pivot Table on Grand Total with Multiple Columns? #1581310You need to sort the plant field using the values data. Right-click the plant field, Sort – More sort options)
-
WSrory
AskWoody LoungerOctober 7, 2016 at 8:20 am in reply to: Use of Wildcard in File Name with Workbooks.Open in VBA Excel 2013 #1580608Code:Dim sFilename as String sFilename = Dir("C:some path" & Company & "*.xlsx") if sFilename vbNullString then Workbooks.Open Filename:=sFilename,ReadOnly:=True, UpdateLinks:=0 ... rest of code End If
where the Company variable has your company number in it.
![]() |
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
-
.NET 8.0 Desktop Runtime (v8.0.16) – Windows x86 Installer
by
WSmeyerbos
9 hours, 6 minutes ago -
Neowin poll : What do you plan to do on Windows 10 EOS
by
Alex5723
4 hours, 50 minutes ago -
May 31, 2025—KB5062170 (OS Builds 22621.5415 and 22631.5415 Out-of-band
by
Alex5723
7 hours, 40 minutes ago -
Discover the Best AI Tools for Everything
by
Alex5723
7 hours, 49 minutes ago -
Edge Seems To Be Gaining Weight
by
bbearren
8 hours, 32 minutes ago -
Rufus is available from the MSFT Store
by
PL1
6 hours, 1 minute ago -
Microsoft : Ending USB-C® Port Confusion
by
Alex5723
1 day, 8 hours ago -
KB5061768 update for Intel vPro processor
by
drmark
15 hours, 17 minutes ago -
Outlook 365 classic has exhausted all shared resources
by
drmark
11 hours, 28 minutes ago -
My Simple Word 2010 Macro Is Not Working
by
mbennett555
1 day, 4 hours ago -
Office gets current release
by
Susan Bradley
1 day, 7 hours ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
2 days, 21 hours ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
2 days, 5 hours ago -
Stop the OneDrive defaults
by
CWBillow
2 days, 22 hours ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
3 days, 8 hours ago -
X Suspends Encrypted DMs
by
Alex5723
3 days, 10 hours ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
3 days, 10 hours ago -
Botnet hacks 9,000+ ASUS routers to add persistent SSH backdoor
by
Alex5723
3 days, 11 hours ago -
OpenAI model sabotages shutdown code
by
Cybertooth
3 days, 11 hours ago -
Backup and access old e-mails after company e-mail address is terminated
by
M W Leijendekker
2 days, 23 hours ago -
Enabling Secureboot
by
ITguy
3 days, 6 hours ago -
Windows hosting exposes additional bugs
by
Susan Bradley
3 days, 19 hours ago -
No more rounded corners??
by
CWBillow
3 days, 15 hours ago -
Android 15 and IPV6
by
Win7and10
3 days, 5 hours ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
4 days, 8 hours ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
4 days, 10 hours ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
4 days, 5 hours ago -
Windows Update orchestration platform to update all software
by
Alex5723
4 days, 18 hours ago -
May preview updates
by
Susan Bradley
4 days, 5 hours ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
3 days, 21 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.