-
WSPaul Lautman
AskWoody Lounger[indent]
The new styles should be listed in Available styles. Are they listed when you select All styles in the Styles and Formatting task pane?
[/indent]
That is where I expected to find them, but no they are not there.However I have just discovered that if I go to Tools->Templates and Add-ins and check the box Automatically update document styles, then the new styles appear.
-
WSPaul Lautman
AskWoody LoungerWow thanks Hans. The MsgBox is as useful as it needs to get.
One other thing, which I know I have asked and had resolved somewhere before.
How does one remember where the cursor started and return to that position at the end of running the macro.
Naively I have tried
Set orig = Selection
.
.
.
.
orig.SelectBut I remember that there needs to be a bit more to actually get it to function properly.
TIA
-
WSPaul Lautman
AskWoody LoungerAs requested
-
WSPaul Lautman
AskWoody LoungerMy problem is how to go fetch all the values to add up.
The Date Calculations stuff doesn’t seem to help in this.
Adding the numbers up in VBA isn’t a problem, it is how I get all the numbers out of the text in the first place.
Any help appreciated.
-
WSPaul Lautman
AskWoody LoungerI don’t have the Works CD, but I’m sure I can do without the functionality (not that I have any idea what it actually does!)
I removed it and Word is “cooking with gas” once again.
Thanks for your help Tony.
-
WSPaul Lautman
AskWoody LoungerOK, here’s what I found.
Running “winword /a” works great.
I deleted all the “*.tmp;~*.do?;~*.wbk” that I possibly could, no improvement
I had already renamed normal.dot but removed it from the templates directory as instructed, no improvement
I used the SUPPORT.DOT template to delete the data key, rename Word Startup Folder Addins (none to rename), delete the COM-Addins registry key, delete the Options registry key; no improvement
The only addins that I can find are revealed by the code snippit and they are “MicrosoftWorks WordAddIN – MicrosoftWorks.WordAddIN.6”
But none of the instructions tell me what to do to fix the problem that seems to be being caused by these addins (assuming that it is indeed these that are the problem)???
What next?
-
WSPaul Lautman
AskWoody LoungerThanks, I’ll try that tonight and post an update.
In the meanwhile I’m using OpenOffice Write.
-
WSPaul Lautman
AskWoody Lounger[indent]
I am confused though as to why the assignment to a boolean variable does not force the values to be true booleans.
[/indent]
Yes, but stranger than that is, if you look at my post 480946, that it DOES work, but only if I do not try to use Not in the same statement.
-
WSPaul Lautman
AskWoody LoungerWell coding the Cbool() changes things.
ir = CBool(oia.waitforinputready(10000))
nir = Not irEnds up with ir = True and nir = False
But
ir = Not CBool(oia.waitforinputready(10000))
nir = Not irStill has ir = True and nir = True
-
WSPaul Lautman
AskWoody LoungerI didn’t Dim it in the attached workbook, but if you look at the picture in the first append, I did have them Dimmed as Boolean and it was still exhibiting the behaviour.
Also a Debug.Print of oia.waitforinputready(n) returns True or False.
Bottom line is, is there some way that I can code this to make a working True/False value?
-
WSPaul Lautman
AskWoody LoungerI didn’t think you would have, that was why I inserted the 3 pictures into the workbook.
A very strange situation!
-
WSPaul Lautman
AskWoody LoungerEdited by StuartR to reduce size of graphic
I am seeing some very strange behaviour when writing a programmed operator using VBA in Excel. I wonder if anyone can explain it.
The programmed operator is using OLE to interact with an IBM Personal Communications 3270 emulator.
One ofthe methods available is WaitForInputReady for which the documentation says:
Method: Boolean WaitForInputReady
The WaitForInputReady method waits until the OIA of the connection associated with autECLOIA object indicates that the connection is able to accept keyboard input
Input Parameters:
-
WSPaul Lautman
AskWoody LoungerStill there after a reboot.
The attached worksheet contains a small piece of test code. Obviously you can’t run it unless you have IBM Personal Communications on your PC.Sheets 1 to 3 show results of 3 tests:
Sheet 1:
With a timeout of 1000 milliseconds, oia.waitforinputready() returns False.
You can see that ir = False and Not ir = True
This is as expected.Sheet 2:
With a timeout of 10000 milliseconds, oia.waitforinputready() returns True.
You can see that ir = True and Not ir = True
This is NOT as expectedSheet 3:
Setting ir to True explicitly (even though with a timeout of 10000 milliseconds it would already have been True) gives us:
ir = True and Not ir = False
Once again as expected. -
WSPaul Lautman
AskWoody LoungerThanks Rudi, maybe the blank colum header was the trick. It still shouldn’t be this difficult!
Any normal user would expect at anto filter of “does not equal” 0123 (which appears in the drop down list, to work, rather than having to use “does not contain”, which of course will not do exactly the same thing.
Thanks to all who helped reach this solution.
-
WSPaul Lautman
AskWoody LoungerSo it seems that Excel triumphs again. Why can’t it just leave one’s data alone!
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
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
-
Login issues with Windows Hello
by
CWBillow
17 minutes ago -
How to get into a manual setup screen in 2024 Outlook classic?
by
Tex265
2 hours, 30 minutes ago -
Linux : ARMO rootkit “Curing”
by
Alex5723
11 hours, 50 minutes ago -
Employee monitoring app leaks 21 million screenshots in real time
by
Alex5723
11 hours, 56 minutes ago -
Google AI is now hallucinating idioms
by
Alex5723
12 hours, 27 minutes ago -
april update
by
69800
8 hours, 26 minutes ago -
Windows 11 Insider Preview build 27842 released to Canary
by
joep517
13 hours, 22 minutes ago -
Quick Fix for Slowing File Explorer
by
Drcard:))
13 hours, 34 minutes ago -
WuMgr not loading?
by
LHiggins
14 hours, 10 minutes ago -
Word crashes when accessing Help
by
CWBillow
5 hours, 37 minutes ago -
New Microsoft Nag — Danger! Danger! sign-in to your Microsoft Account
by
EricB
13 hours, 12 minutes ago -
Blank Inetpub folder
by
Susan Bradley
10 hours, 37 minutes ago -
Google : Extended Repair Program for Pixel 7a
by
Alex5723
23 hours, 44 minutes ago -
Updates seem to have broken Microsoft Edge
by
rebop2020
10 hours, 10 minutes ago -
Wait command?
by
CWBillow
17 hours ago -
Malwarebytes 5 Free version manual platform updates
by
Bob99
1 day, 6 hours ago -
inetpub : Microsoft’s patch for CVE-2025–21204 introduces vulnerability
by
Alex5723
1 day, 12 hours ago -
Windows 10 finally gets fix
by
Susan Bradley
1 day, 21 hours ago -
AMD Ryzen™ Chipset Driver Release Notes 7.04.09.545
by
Alex5723
1 day, 23 hours ago -
How to use Skype after May?
by
Joann
7 hours, 32 minutes ago -
Win 7 MS Essentials suddenly not showing number of items scanned.
by
Oldtimer
1 day, 17 hours ago -
France : A law requiring messaging apps to implement a backdoor ..
by
Alex5723
2 days, 12 hours ago -
Dev runs Windows 11 ARM on an iPad Air M2
by
Alex5723
2 days, 13 hours ago -
MS-DEFCON 3: Cleanup time
by
Susan Bradley
12 hours, 11 minutes ago -
KB5056686 (.NET v8.0.15) Delivered Twice in April 2025
by
lmacri
18 hours, 22 minutes ago -
How to enable Extended Security Maintenance on Ubuntu 20.04 LTS before it dies
by
Alex5723
3 days ago -
Windows 11 Insider Preview build 26200.5562 released to DEV
by
joep517
3 days, 4 hours ago -
Windows 11 Insider Preview build 26120.3872 (24H2) released to BETA
by
joep517
3 days, 4 hours ago -
Unable to eject external hard drives
by
Robertos42
1 day, 14 hours ago -
Saying goodbye to not-so-great technology
by
Susan Bradley
1 day, 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.