-
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
-
default apps
by
chasfinn
5 hours, 13 minutes ago -
Will MS Works 4 work in MS Win 11?
by
MileHighFlyer
3 hours, 34 minutes ago -
Adding links to text in Word 2000
by
sgeneris
14 hours, 42 minutes ago -
FBI warnings are true—fake file converters do push malware
by
Nibbled To Death By Ducks
7 hours, 54 minutes ago -
Classic and Extended Control Panel — no need to say goodbye
by
Deanna McElveen
45 minutes ago -
Things you can do in 2025 that you couldn’t do in 2024
by
Max Stul Oppenheimer
8 hours, 20 minutes ago -
Revisiting Windows 11’s File Explorer
by
Will Fastie
8 minutes ago -
Planning ahead for migration
by
Susan Bradley
7 hours, 28 minutes ago -
Yahoo mail getting ornery
by
Tom in Az
1 hour, 4 minutes ago -
Is Spectrum discontinuing email service?
by
Peobody
2 hours, 18 minutes ago -
Practice what you preach! A cautionary tale.
by
RetiredGeek
18 minutes ago -
Looking for Microsoft Defender Manuals/Tutorial
by
blueboy714
3 minutes ago -
Win 11 24H2 Home or Pro?
by
CWBillow
1 day, 8 hours ago -
Bipartisan Effort to Sunset the ‘26 Words That Created the Internet’..
by
Alex5723
2 days, 6 hours ago -
Outlook new and edge do not load
by
cHJARLES a pECKHAM
2 days, 18 hours ago -
Problem using exfat drives for backup
by
Danmc
2 days, 18 hours ago -
I hate that AI is on every computer we have!
by
1bumthumb
1 day, 20 hours ago -
Change Info in the Settings window
by
CWBillow
3 days, 1 hour ago -
Attestation readiness verifier for TPM reliability
by
Alex5723
3 days, 7 hours ago -
Windows Update says that “some settings are managed b your organization”
by
Ed Willers
2 days, 17 hours ago -
Use of Gmail rejected.
by
CBFPD-Chief115
2 days, 18 hours ago -
WuMgr operational questions
by
Tex265
17 hours, 53 minutes ago -
Beijing’s unprecedented half-marathon: Humans vs. humanoids!
by
Alex5723
3 days, 23 hours ago -
New Phishing Campaign Targeted at Mac Users
by
Alex5723
2 days, 23 hours ago -
Backing up Google Calendar
by
CWBillow
4 days, 5 hours ago -
Windows 11 Insider Preview build 27818 released to Canary
by
joep517
4 days, 18 hours ago -
File Naming Conventions (including Folders)
by
Magic66
3 days, 16 hours ago -
Windows 11 Insider Preview Build 26100.3613 (24H2) released to Release Preview
by
joep517
5 days, 1 hour ago -
Microsoft sends emails to Windows 10 users about EOS
by
Alex5723
4 days, 12 hours ago -
Outlook 2024 importing Calendar and Contacts – FAILURE
by
Kathy Stevens
3 days, 18 hours ago
Recent blog posts
- Classic and Extended Control Panel — no need to say goodbye
- Things you can do in 2025 that you couldn’t do in 2024
- Revisiting Windows 11’s File Explorer
- Planning ahead for migration
- Woody Leonhard (1951–2025)
- What I learned from Woody Leonhard
- Windows Settings today
- Mail Merge magic in Microsoft Word
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.