Office & Productivity Software forum

General discussion

MS Office

Hi everybody!
Does anybody know how to create a button which automatically inserts a certain (header and) footer? e.g. in Excel.
I've seen this once but I can't remember where it was..

Discussion is locked
You are posting a reply to: MS Office
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: MS Office
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 -
Re: button and macro

In reply to: MS Office


The steps to take:
1. Create (record and/or program) a macro that does what you want.
2. Insert a button and assign the macro to it.

The Excel help will certainly tell you how to do step 2. Step 1 might be more difficult, depending on your wishes.


Collapse -
Don'T work

In reply to: Re: button and macro

Yeah I'm trying, but this ain't workin.
Is there maybe some visual basic programing involved? That's something I'm not capable of.
Who can help?

Collapse -
Re: macro

In reply to: Don'T work

If you can record the macro totally, there's no need to program in VBA.
If there are decisions involved, or variable locations of data, you need to program indeed. If you can't do that, you must be much clearer in what you want and why a simple recording of a macro doesn't work (and even then it's doubtful if anybody on this forum will provide you with the exact code you need), or invest some time in learning to program yourself or invest some money in hiring somebody to do it for you.


Popular Forums

Computer Newbies 10,686 discussions
Computer Help 54,365 discussions
Laptops 21,181 discussions
Networking & Wireless 16,313 discussions
Phones 17,137 discussions
Security 31,287 discussions
TVs & Home Theaters 22,101 discussions
Windows 7 8,164 discussions
Windows 10 2,657 discussions


Sublime suburban chariot

High on style and technology, the 2019 Volvo XC90 is an incredibly satisfying everyday crossover.