Office & Productivity Software forum

General discussion

Macro & embedded tables

by Moviedude / October 10, 2005 4:05 AM PDT

Hello,

I currently use a macro that calls an autotext entry to insert a certain table that is repeatedly used through the document. The autotext entry is in the normal.dot template and the macro is embedded in the document with a button to call it.

I would like to distribute the doucment to others in my workgroup, but cannot do this as structured. Many reaons, one of which is that the autotext entry cannot be part of their normal.dot template, and creating another template is not possible.

The best solution is to somehow imbed the table, with all of its formatting, into a macro that will be imbedded in the document, so that the document can be dispersed among the workgroup and the doucument operations will be self-contained. However, I am at a loss as to how to embed the table in the macro.

Any held would be appreciated.

Discussion is locked
You are posting a reply to: Macro & embedded tables
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Macro & embedded tables
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Not sure
by MarkFlax Forum moderator / October 10, 2005 4:38 AM PDT

but if I am using an Excel spreadsheet with my own macros, and send the spreadsheet itself to someone else by email then when they open it, (after virus checking of course), they get a warning that there is a macro and they are asked to enable or disable.

If they enable, they get the full spredsheet with the macro. If they then save the spreadsheet, the macro is saved as well.

But that's Excel spreadsheets. Would it also work for Word documents? Either email it or send it through the local network.

Mark

Collapse -
Re: table in macro
by Kees Bakker / October 10, 2005 6:58 AM PDT

Can't you record the macro to insert the table and format it as you wish?

And I don't see why you couldn't make a new template for this type of document, and instruct your colleagues to base their new documents on this template. You probably already have a fax template, a memo template, a letter template and a report template and now make a whatever-this-form-is-template.
Word has personal templates and workgroup templates, and this certainly is one of the last.

Hope this helps.


Kees

Popular Forums
icon
Computer Help 51,912 discussions
icon
Computer Newbies 10,498 discussions
icon
Laptops 20,411 discussions
icon
Security 30,882 discussions
icon
TVs & Home Theaters 21,253 discussions
icon
Windows 10 1,672 discussions
icon
Phones 16,494 discussions
icon
Windows 7 7,855 discussions
icon
Networking & Wireless 15,504 discussions

REVIEW

Meet the drop-resistant Moto Z2 Force

The Moto Z2 Force is really thin, with a fast processor and great battery life. It can survive drops without shattering.