-
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
-
MS Passkey
by
pmruzicka
13 seconds ago -
Can’t make Opera my default browser
by
bmeacham
1 hour, 54 minutes ago -
Do not Fall For This Purdentix Scam (Awaiting moderation)
by
elizabethkaur56
7 hours, 53 minutes ago -
*Some settings are managed by your organization
by
rlowe44
17 hours, 52 minutes ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
49 minutes ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
20 hours, 30 minutes ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
1 day, 5 hours ago -
AI slop
by
Susan Bradley
1 day, 4 hours ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
1 day, 6 hours ago -
Two blank icons
by
CR2
16 hours, 21 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
1 day, 15 hours ago -
End of 10
by
Alex5723
1 day, 18 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
16 hours, 16 minutes ago -
test post
by
gtd12345
2 days ago -
Privacy and the Real ID
by
Susan Bradley
1 day, 14 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
1 day, 6 hours ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
2 days, 4 hours ago -
Upgrading from Win 10
by
WSjcgc50
16 hours, 26 minutes ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
20 hours ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
2 days, 20 hours ago -
The story of Windows Longhorn
by
Cybertooth
2 days, 8 hours ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
2 days, 22 hours ago -
Are manuals extinct?
by
Susan Bradley
7 hours, 58 minutes ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
3 days, 7 hours ago -
Network Issue
by
Casey H
2 days, 18 hours ago -
Fedora Linux is now an official WSL distro
by
Alex5723
3 days, 19 hours ago -
May 2025 Office non-Security updates
by
PKCano
3 days, 19 hours ago -
Windows 10 filehistory including onedrive folder
by
Steve Bondy
3 days, 21 hours ago -
pages print on restart (Win 11 23H2)
by
cyraxote
2 days, 22 hours ago -
Windows 11 Insider Preview build 26200.5581 released to DEV
by
joep517
4 days 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.