-
WSVBNerd
AskWoody LoungerOne of my fellow programmers says when users ask “Can this or that be done?”, “Anything can be done given enough time.”
Yes, I think it can be done. The hardest part would be automating Word 95. Word 95 uses WordBasic as it’s programming language and Word 97 & Word 2000 use VBA. Word 97 & Word 2000 can translate Word 95’s WordBasic with various degrees of success.
Here’s a couple of articles from Microsoft
This link talks about WordBasic
http://msdn.microsoft.com/library/techart/msdn_wbmigrat.htmAnd this link talks about automating office…
http://support.microsoft.com/support/kb/ar…s/Q253/2/35.ASP -
WSVBNerd
AskWoody LoungerHere’s a couple of additional possibilities.
What version of Word are you using? I think internally Word 95 changes the type of graphics to bitmaps(bmp) even if you put in a jpg and gif. I think Word 97 & 2000 internally save as PNG.
Also, if you are saving the document as Word 97/6.0/95, it saves it as a dual file format. i.e. The file size about doubles since it’s really saving it as Word 95 and Word 97/2000 in the same document.
-
WSVBNerd
AskWoody LoungerThanks for the reply.
There are two that interest me. The Class Builder Utility and one I downloaded from PlanetSourceCode.com called Task List. Both show up in VB6 under Add-ins/Add-in Manager, but don’t show up in the Excel 2K VB IDE Add-ins/Add-in Manager. Do I need to copy some DLLs to a different folder? Both of these aren’t show stoppers. I can use the Class Builder Utility in VB6 and export the class and import it into the Excel VBA project. The Task List would be nice to have in the Excel VBE IDE as I’m currently working on a project in Excel.
-
WSVBNerd
AskWoody LoungerAs I put in a earlier post about coding standards…
When commenting your code, put less on what your code is doing and more on WHY you’re doing it.
-
WSVBNerd
AskWoody LoungerDoes Project have application specific add-ins like Word and Excel? With Word and Excel you can stick a template or Add-in into the startup folder. If that template or add-in has macros, you won’t get bothered with the startup message.
Mike
-
WSVBNerd
AskWoody LoungerOf course you should ask yourself, “Is Excel the right tool for this job?” Visio or Project would be the tool of choice to generate a gant chart. On the other hand, if you don’t have those tools, then…
how does it go?…When you have a hammer, all your problems are nails.
Mike
-
WSVBNerd
AskWoody LoungerI had a similar problem with Word. All documents in a specific folder had to be converted to PDF files so a group of Unix users could read them. The conversion had to happen on a regular basis. I had to resort to writing a VB app that automates Word.
You can set up distiller to watch a folder for postscript files and convert them to PDF files.
I then had my VB program fire up Word, print each document in the folder to a postscript file. Set a timer in VB to check on the printer spooling in Word. When Word was done, shut Word down.
The distiller would convert all the files in the folder to PDF files.
Granted, there may be a simplier solution, but I haven’t found one or bothered to find out now that this is working.
Mike
-
WSVBNerd
AskWoody LoungerER… that’s Excel For Windows 95… not Excel or Windows 95
Mike
-
WSVBNerd
AskWoody LoungerI’m not completely sure, but I think the collection object won’t work in Excel 95. If I remember, I had to resort to using arrays.
Do a search on the web for John Walkenbach. He wrote Excel or Windows 95 Power Programming with VBA. I wouldn’t be surprised if he has a web site and he still sells this book.
Mike
-
WSVBNerd
AskWoody Lounger -
WSVBNerd
AskWoody LoungerPoking around in Steve Roman’s Writing Word Macros there’s StartOf and EndOf methods of the selection and range objects. It mentions that the StartOf method returns zero if you are already at the start of the range of selection.
I don’t know if this helps.
Mike
-
WSVBNerd
AskWoody LoungerI don’t know how many times I’ve had to beat Word into submission wrestling with this.
Thanks!
Mike “Having way too much fun with those smilies.”
-
WSVBNerd
AskWoody LoungerWith a subject like that, I felt I had to reply.
Recursion is just another tool in the programmer’s toolbox. The programmer needs to know and use the right tool for the right job. In the example you posted, recursion doesn’t appear to be the right tool for the job.
I don’t want any programmers to shy away from recursion. Just know when it’s not appropriate.
What’s next? Subject: LOOPING – DANGEROUS!
Mike
-
WSVBNerd
AskWoody LoungerIt’s better to set a reference to the Microsoft Excel Object Library. Then you’ll get VB’s intellisense/auto-command-completion thingy. Also, if I remember correctly, CreateObject is late binding, so your app will run slower.
‘For variable declaration
Option ExplicitDim xl as Excel.Application
Set xl = New Excel.Application[rest of code here]
‘shut down excel
xl.quit
‘destory the object
Set xl = NothingGood books…
Hmmm…
I’m not sure about some of the beginning VB/VBA books.
Intermediate books would be…
The Office 2000 Programmer’s Guide (MS PRESS)
Writing Excel Macros – Steve Roman(O’reilly)Mike
-
WSVBNerd
AskWoody LoungerI think you’d have more control over IE if you automate it just like Word or Excel.
See
http://msdn.microsoft.com/workshop/c-frame…application.asp
Mike
![]() |
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
-
Mozilla Firefox Security Updates! Released late 17th May 2025
by
Alex5723
4 hours, 34 minutes ago -
Microsoft: Troubleshoot problems updating Windows
by
Alex5723
1 hour, 27 minutes ago -
Woman Files for Divorce After ChatGPT “Reads” Husband’s Coffee Cup
by
Alex5723
8 hours, 33 minutes ago -
Moving fwd, Win 11 Pro,, which is best? Lenovo refurb
by
Deo
1 hour, 59 minutes ago -
DBOS Advanced Network Analysis
by
Kathy Stevens
18 hours, 22 minutes ago -
Microsoft Edge Launching Automatically?
by
healeyinpa
8 hours, 47 minutes ago -
Google Chrome to block admin-level browser launches for better security
by
Alex5723
21 hours, 2 minutes ago -
iPhone SE2 Stolen Device Protection
by
Rick Corbett
13 hours, 18 minutes ago -
Some advice for managing my wireless internet gateway
by
LHiggins
8 hours, 59 minutes ago -
NO POWER IN KEYBOARD OR MOUSE
by
HE48AEEXX77WEN4Edbtm
15 hours, 15 minutes ago -
A CVE-MITRE-CISA-CNA Extravaganza
by
Nibbled To Death By Ducks
1 day, 6 hours ago -
Sometimes I wonder about these bots
by
Susan Bradley
1 day, 2 hours ago -
Does windows update component store “self heal”?
by
Mike Cross
16 hours, 52 minutes ago -
Windows 11 Insider Preview build 27858 released to Canary
by
joep517
1 day, 20 hours ago -
Pwn2Own Berlin 2025: Day One Results
by
Alex5723
4 hours, 26 minutes ago -
Windows 10 might repeatedly display the BitLocker recovery screen at startup
by
Susan Bradley
8 hours, 7 minutes ago -
Windows 11 Insider Preview Build 22631.5409 (23H2) released to Release Preview
by
joep517
1 day, 23 hours ago -
Windows 10 Build 19045.5912 (22H2) to Release Preview Channel
by
joep517
1 day, 23 hours ago -
Kevin Beaumont on Microsoft Recall
by
Susan Bradley
1 day, 11 hours ago -
The Surface Laptop Studio 2 is no longer being manufactured
by
Alex5723
2 days, 7 hours ago -
0Patch, where to begin
by
cassel23
2 days, 1 hour ago -
CFPB Quietly Kills Rule to Shield Americans From Data Brokers
by
Alex5723
2 days, 20 hours ago -
89 million Steam account details just got leaked,
by
Alex5723
2 days, 8 hours ago -
KB5058405: Linux – Windows dual boot SBAT bug, resolved with May 2025 update
by
Alex5723
3 days, 5 hours ago -
A Validation (were one needed) of Prudent Patching
by
Nibbled To Death By Ducks
2 days, 20 hours ago -
Master Patch Listing for May 13, 2025
by
Susan Bradley
2 days, 7 hours ago -
Installer program can’t read my registry
by
Peobody
2 minutes ago -
How to keep Outlook (new) in off position for Windows 11
by
EspressoWillie
2 days, 18 hours ago -
Intel : CVE-2024-45332, CVE-2024-43420, CVE-2025-20623
by
Alex5723
3 days, 1 hour ago -
False error message from eMClient
by
WSSebastian42
3 days, 16 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.