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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Something similar to a Word Perfect macro

Status
Not open for further replies.

pokeymonsc

Technical User
Jul 27, 2004
29
0
0
US
Hi,

This off the normal programming tract, but.....
In Word Perfect we used to run a macro to put in a return address(about 7 lines long, which is why we automated it). This macro was on the network server where anyone in the office could access it. Well, now we are using MS Word and first off: making a macro to correspond to what we want is a nightmare in coding (compared to what we used in WP) and secondly, the code seems to be a part of the document accessible only to that user rather than a file that can be stored on the FS and used by everone.
Am I confusing a WP macro with something else that MS Word does? or is it REALLY that hard to do something so easy and be available to a large number of people??????????????????
Any observations out there?
 
1. There is no separate macro file in Word, well not as such like old WP. You CAN put your macro into a global template and script that template into the Program File/Microsoft Office /Office/Startup folder (NOT the Startup folder under Document and Settings/username) for all users. This would make the code available to all.

2. MS Word VBA is not like the macro scripting in WP. It has its better points and its weakness. Yes, converting can be a problem. Design elements most likely need to be re-considered. Different flow controls are probable. the Word Object Model works quite differently. Yet it can be done.

Care to share what you want to happen?

Gerry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top