Jump to content

Visual Basic compatibility - Office 2000 and XP


Recommended Posts

Let me just say from the start that I know nothing about VBS. :)

A few years ago someone was contracted to create an Access application for our office. It's a complicated database with a lot of Word documents involved via mail merge. I think I'm describing it right...

Anyway, we are planning to move from Office 2000 to Office XP. I've been testing this application and it is failing. Before I start posting a bunch of code, I wanted to know -- if this kind of thing was created for Office 2000, is there any reason why part of it would not work under Office XP?

Link to comment
Share on other sites


A little more detail. The main gist of this application is an Access database, but it also includes some Wrod documents. One error I'm getting is the part where a Word document is supposed to open in the background and a print job is sent to a dot-matrix printer. I am getting the following error message:

VB_4248.JPG

When I click on debug, the following line of the VBS code is highlighted:

VB_4248_code.JPG

Like I already said, I don't know anything about VBS. But is there anything about that code that wouldn't be compatibile with Office XP, if it worked fine in Office 2000?

FYI -- just for the hell of it, I commented out that one line, since it seems redundant. Then it not only doesn't give me an error, it doesn't even print.

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...