-
WSDoryO
AskWoody LoungerMicrosoft’s KnowledgeBase recommends saving screwy tables as RTF file format and then opening them again to a Word doc to clean out the lint. Obviously, this might leave something behind, but it might be worth a try. But why “newly-created” tables, too? Hmmmm….
Also see:
http://support.microsoft.com/search/previe…b;en-us;Q287398%5B/url%5D -
WSDoryO
AskWoody LoungerYour error message is complaining that “Type” isn’t an argument of “Controls”. You need to have an actual control assigned to arg1, not a collection of controls. Maybe you were trying to use the FindControl method?
Anyhoo… this code will wipe out all combo controls on the commandbar:
For Each ctrl In CommandBars("Filter Form").Controls ' You can also check the values of ctrl.Caption, ctrl.Visible, ctrl.OnAction If ctrl.Type = msoControlComboBox Then ctrl.Delete End If Next
-
WSDoryO
AskWoody LoungerHmmm..don’t know about AS400. Queries are OK, but reports complain?
When I had trouble yanking data out of Lotus Notes via ODBC, I used “make table” and “append” queries to make my own data table in Access from the Notes data. Gave the user a button to click to delete and recreate that table as needed. Another button ran the report pointing to my new table.
-
WSDoryO
AskWoody LoungerI’m not an XP user yet, but from the sound of all this, when I do upgrade I should set up my own User Templates directory pointing so some place I can easily get to. (I hate long complicated paths!)
Is that a reasonable suggestion for XP users? A new NORMAL.DOT file would be created there?
-
WSDoryO
AskWoody LoungerMaybe you could describe what you’re trying to do in the workbook (more generally) and someone will suggest an entirely different approach that avoids this irritating little listbox altogether.
-
WSDoryO
AskWoody LoungerTry this Gary:
Dim pvt As PivotTable Set pvt = ActiveSheet.PivotTables("PivotTable1") For Each itm In pvt.PivotFields("Code").PivotItems itm.Visible = True Next itm
This code WILL error when it gets down to one item left in the pivot table. You have to have at least one item visible. So you can decide how you want to handle that. But this should get you started…
You could put a condition to evaluate the itm.Caption and only deselect certain items. Then you could have toggle buttons that turn sections of your WBS on and off in the pivot instead of all or nothing (which won’t really work anyways).
-
WSDoryO
AskWoody LoungerEnter a table like this instead of the one you have now:
Col A ColB 12 Hired after Vac Hrs 13 1/1/65 160 14 1/1/88 120 15 1/1/93 80 16 1/1/01 40 17 7/1/01 0
Then use this formula to choose the number of vacation days. Cell I4 is the start date.
=VLOOKUP(I4,A$13:B$17,2,TRUE)
This means, lookup the start date in the table (A13:B17) and get the value in the second column. The “TRUE” parameter means, “If you can’t find an exact match use the highest value without being greater than the start date.” This is the same kind of lookup you’d use to figure out your tax rate on your income taxes. You lookup your income in a table that has cutoff points like this and pick the highest value without being greater than your income.
Put the dollar signs in the formula to prevent that range from “slipping” when you copy the formula down the column for other employees.
-
WSDoryO
AskWoody LoungerThe user is out of compliance and should be terminated. Problem solved! Just kidding.
You could check the Tools…Options…Compatibility settings and see if anything is checked in there that might affect formatting.
Any tables in the cut/paste content? RTF has various problems with tables. If you describe the text that is being pasted someone might have a better idea. Just text? Wrapped or single lines? What style and format?
-
WSDoryO
AskWoody LoungerMsgBox Dialogs(wdDialogToolsOptionsCompatibility).Product
-
WSDoryO
AskWoody LoungerHi Hans, I’m no expert on VB performance so I’m curious about how your version runs faster. What differences improve the performance? Maybe I need to give some of my production code a makeover, too!
-
WSDoryO
AskWoody LoungerHere’s two suggestions:
You can use this function to represent a date in your formula:
DATE(1998,1,1)You could put the date in a cell and not in the formula. Do you have a column with the start date? Formulas can reference dates in cells without any problem and the same formula will work for every employee row. Typing each employee’s start date into an individual formula sounds like a lot of work!
-
WSDoryO
AskWoody LoungerWow, I really wandered off the compound there! Thought I was in Wordland.
Back on topic, I like Legare’s suggestion of using buttons on the Quick Launch toolbar. Keeps it simple. A lot of my users are happy using buttons on the Microsoft Office Start Toolbar that resides along the right side of their Windows screen. These are usually templates, but could point to any spreadsheet.
The tricky bit is keeping all these updated centrally if you have a lot of users and the filenames change or new buttons are needed periodically.
-
WSDoryO
AskWoody LoungerI had a client recently that demanded a semicolon-delimited “CSV” format for their data AND no quote marks please. Ugh.
After much wasted time trying to remove all semi-colons from the content prior to export and then writing code to open the text file and search replace commas to semi-colons they finally realized that this just wasn’t going to work without wrecking their data.
Hurrah! We’re going to use standard CSV files right? No! They want pipe-delimited now. Still no quote marks. I think the inability of their importing software to handle the text-delimiting quote marks means that they cannot use a field delimiter that could possibly exist in the content itself. Thus, they chose the oddball pipe character: |
So I’m curious about what software wants these semi-colon delimited files. Is this a trend?
-
WSDoryO
AskWoody LoungerYou could use a “sorting column” with a formula like this:
=Sortstring(A1)
which will turn the text “C.3.34.1.2” into “C03340102”
and “C.12.1.1” into “C120101”, etc.Never heard of the function Sortstring(cell)? That’s cuz I made it up! It’s a custom function you can paste into a module in your workbook. It’ll pick out the numbers between periods and format them to 2 digits and concatenate them into a string that’ll sort as many levels down as you need.
Function SortString(sInput As String) As String SortString = Left(sInput, 1) For x = 3 To Len(sInput) char = Mid(sInput, x, 1) If Asc(char) > 47 And Asc(char) < 58 Then tmpNum = tmpNum + char Else SortString = SortString + Format(Val(tmpNum), "00") tmpNum = "" End If Next x SortString = SortString + Format(Val(tmpNum), "00") End Function
Weird. But it works in a pinch — like this. Hide the column or delete it when you’re done.
-
WSDoryO
AskWoody Lounger“…almost every time someone enters the next code for the next group of tags …”
I’m not sure what that involves exactly, but if it’s really the action that causes “page layout amnesia” it might be worth looking into what happens at this stage. Even the most harmless steps could be causing this. I have seen “page layout amnesia” problems in shared Access databases when users have different printers defined. One user does Page Setup for their HP5. Next user doesn’t have same printer and Access defaults to standard page setup. Grrrr….
![]() |
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
-
Edge Seems To Be Gaining Weight
by
bbearren
33 minutes ago -
Rufus is available from the MSFT Store
by
PL1
9 hours, 13 minutes ago -
Microsoft : Ending USB-C® Port Confusion
by
Alex5723
11 hours, 22 minutes ago -
KB5061768 update for Intel vPro processor
by
drmark
7 hours, 35 minutes ago -
Outlook 365 classic has exhausted all shared resources
by
drmark
9 hours, 33 minutes ago -
My Simple Word 2010 Macro Is Not Working
by
mbennett555
7 hours, 7 minutes ago -
Office gets current release
by
Susan Bradley
9 hours, 45 minutes ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
1 day, 23 hours ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
1 day, 8 hours ago -
Stop the OneDrive defaults
by
CWBillow
2 days ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
2 days, 10 hours ago -
X Suspends Encrypted DMs
by
Alex5723
2 days, 12 hours ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
2 days, 13 hours ago -
Botnet hacks 9,000+ ASUS routers to add persistent SSH backdoor
by
Alex5723
2 days, 13 hours ago -
OpenAI model sabotages shutdown code
by
Cybertooth
2 days, 14 hours ago -
Backup and access old e-mails after company e-mail address is terminated
by
M W Leijendekker
2 days, 2 hours ago -
Enabling Secureboot
by
ITguy
2 days, 9 hours ago -
Windows hosting exposes additional bugs
by
Susan Bradley
2 days, 22 hours ago -
No more rounded corners??
by
CWBillow
2 days, 18 hours ago -
Android 15 and IPV6
by
Win7and10
2 days, 7 hours ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
3 days, 10 hours ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
3 days, 13 hours ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
3 days, 7 hours ago -
Windows Update orchestration platform to update all software
by
Alex5723
3 days, 20 hours ago -
May preview updates
by
Susan Bradley
3 days, 7 hours ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
2 days, 23 hours ago -
Just got this pop-up page while browsing
by
Alex5723
3 days, 12 hours ago -
KB5058379 / KB 5061768 Failures
by
crown
3 days, 9 hours ago -
Windows 10 23H2 Good to Update to ?
by
jkitc
2 days, 12 hours ago -
At last – installation of 24H2
by
Botswana12
4 days, 12 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.