Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word Macros Changing

Status
Not open for further replies.

pappy1271

MIS
Sep 17, 2001
16
US
hello all. I have a disturbing little problem that I cannot seem to figure out. I will try and detail as much as possible and hope that someone can shed some light on it for me.

I have a bunch of Word97 macros that I use on a daily basis. Starting last week, one of the macros that I have linked to a button of which I use every morning, suddenly displayed a compile error. This opened Microsoft Visual Basic macro editor and highlited the location of the problem. To my amazement, the spelling of some words had been changed. Here is the example:

Selection.ParagraphFormat.Tabs(InchesToPoints(6)).Position = InchesToPoints(7)

Pay close attention to the bold word Tabs it should read TabStops. This was not the only location that this happened. I did a search through all of the subs and everyone of the TabStops had been changed to Tabs. About a week later this happened again, but it was the property of InchesToPoints, it was changed to incheoints.

The first thing I suspected was that it was a virus. Since I use two different computers at any one time I have my normal.dot stored on a server of which I manage. I am the administrator and nobody else can even see the folder where the files are stored. But any, I verified that the Virus pattern files were up to date on the server and on both my computers and ran virus scans. Had the Scanner scan all files and check for macro variations. Nothing was found, so I scanned with the online virus scan at TrendMicro (HouseCall). Nothing again.

My mind is blown. Only two user accounts on the Server (NetWare 5.1) have full access to all files. Admin and my account. Admin password changes monthly and my account is located after 5:15 pm. so no one is logging in as myself or as admin and making these changes. Any possible reasons?

Thanks,
pappy
Sys Admin
 


I had a situation where text was falling out of Access code (it had run OK for a couple of months, but with the missing code it could never have worked), but we put that down to a very slow network.


T
 
You may have unintentionally done a global search and replace "stop" with ""
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top