-
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. 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
-
Practice what you preach! A cautionary tale.
by
RetiredGeek
4 hours, 10 minutes ago -
Looking for Microsoft Defender Manuals/Tutorial
by
blueboy714
1 day ago -
Win 11 24H2 Home or Pro?
by
CWBillow
10 hours, 22 minutes ago -
Bipartisan Effort to Sunset the ‘26 Words That Created the Internet’..
by
Alex5723
1 day, 8 hours ago -
Outlook new and edge do not load
by
cHJARLES a pECKHAM
1 day, 20 hours ago -
Problem using exfat drives for backup
by
Danmc
1 day, 20 hours ago -
I hate that AI is on every computer we have!
by
1bumthumb
22 hours, 42 minutes ago -
Change Info in the Settings window
by
CWBillow
2 days, 3 hours ago -
Attestation readiness verifier for TPM reliability
by
Alex5723
2 days, 9 hours ago -
Windows Update says that “some settings are managed b your organization”
by
Ed Willers
1 day, 19 hours ago -
Use of Gmail rejected.
by
CBFPD-Chief115
1 day, 20 hours ago -
WuMgr operational questions
by
Tex265
22 hours ago -
Beijing’s unprecedented half-marathon: Humans vs. humanoids!
by
Alex5723
3 days, 1 hour ago -
New Phishing Campaign Targeted at Mac Users
by
Alex5723
2 days, 1 hour ago -
Backing up Google Calendar
by
CWBillow
3 days, 7 hours ago -
Windows 11 Insider Preview build 27818 released to Canary
by
joep517
3 days, 20 hours ago -
File Naming Conventions (including Folders)
by
Magic66
2 days, 19 hours ago -
Windows 11 Insider Preview Build 26100.3613 (24H2) released to Release Preview
by
joep517
4 days, 3 hours ago -
Microsoft sends emails to Windows 10 users about EOS
by
Alex5723
3 days, 14 hours ago -
Outlook 2024 importing Calendar and Contacts – FAILURE
by
Kathy Stevens
2 days, 20 hours ago -
Adding Microsoft Account.
by
DaveBRenn
4 days, 4 hours ago -
Windows 11 Insider Preview build 26120.3576 released to DEV and BETA
by
joep517
5 days, 4 hours ago -
Windows 11 Insider Preview Build 22635.5090 (23H2) released to BETA
by
joep517
5 days, 4 hours ago -
Windows 11 won’t boot
by
goducks25
2 days, 21 hours ago -
Choosing virtual machine product for Windows on Mac
by
peterb
4 days, 18 hours ago -
Rest in Peace
by
Roy Lasris
5 days, 23 hours ago -
CISA : Install Windows March 2025 Updates until April 1 or shut down PC.
by
Alex5723
2 days, 20 hours ago -
Google proposes users with incompatible Win 11 PCs to migrate to ChromeOS Flex
by
Alex5723
5 days, 23 hours ago -
Drivers for Epson Perfection V600 Photo – scanner
by
Bookman
2 days, 15 hours ago -
Long Time Member
by
jackpet
6 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.