Flux rss
Search : in
By : Relevance Date Username
Statut : Not resolved

MS Word Footer Macro Different Front page

  jm7sa, on Tuesday 7 October 2008 à 14:46:58
Hello,

I am trying to write a simple macro for MS Word (I'm using 2007 but would like it to work for 2003 too ideally)

The macro should:

1. insert a website address and company details into the footer of the first page of a document and then
2. insert a logo into the footer of all subsequent pages.

I'm a bit of a newbie and I've tried to record a macro to do this but it puts everything into the first footer.

I have searched through these forums and come up with a macro that lets me place text into the first page only - but I can't then add the alternative footer for subsequent pages.

Here's my macro (apologies in advance....)


Sub footer()
'
' footer Macro
'
'

ActiveDocument.PageSetup.DifferentFirstPageHeaderFooter = True
WordBasic.ViewFooterOnly
Selection.Font.Size = 8
Selection.ParagraphFormat.Alignment = wdAlignParagraphRight
Selection.TypeText Text:= _
"MY WEBSITE ADDRESS AND COMPANY DETAILS"
If ActiveWindow.View.SplitSpecial = wdPaneNone Then
ActiveWindow.ActivePane.View.Type = wdPrintView
Else
ActiveWindow.View.Type = wdPrintView
WordBasic.ViewFooterOnly
Selection.InlineShapes.AddPicture FileName:= _
"C:\images\mylogo.jpg", _
LinkToFile:=False, SaveWithDocument:=True
End If

End Sub
Configuration: Windows XP
Firefox 3.0.3
Reply to jm7sa  Report this message to moderators

Résultats pour MS Word Footer Macro Different Front page

MS Word not displaying Page numbers, Images Hello, So far MS word worked fine. But now it is not showing up images. Also not even page numbers. Instead showing up {Page}. Please let me know why this happens? How to bring them out? en.kioskea.net/forum/affich-29382-ms-word-not-displaying-page-numbers-images
How to count number of words in MS Words sheet! How to count number of words in MS Words sheet! It is quite simple to count the number of words in a Microsoft word sheet. This tip might be very useful for example, if you wish to make a presentation on Microsoft word for an approximate number... en.kioskea.net/faq/sujet-354-how-to-count-number-of-words-in-ms-words-sheet
Front page and windows vista Hello, Can any one tell me - is Microsoft Front page compatible with Windows Vista ? en.kioskea.net/forum/affich-3969-front-page-and-windows-vista

Résultats pour MS Word Footer Macro Different Front page

How do I change the margins in a Word doc?That's very simple. 1. Choose "Page Setup" from the File menu. 2. Click on the Margins tab. 3. Enter numbers in the Top, Bottom, Left, and Right boxes or use the arrows to scroll by tenths (Word uses the default measurement unit that you can also... en.kioskea.net/faq/sujet-13-how-do-i-change-the-margins-in-a-word-doc
Keeping different versions of a Word document in the same fileMicrosoft Word calls this operation "versioning". The principle is very simple: one file will contain all the versions and will increase the file size. You can also extract any version and save it as a separate file/document. To use the version... en.kioskea.net/faq/sujet-12-keeping-different-versions-of-a-word-document-in-the-same-file
Background image/ Printed Watermark with Microsoft WordBackground image/ Printed Watermark with Microsoft Word Insert a background image: Insert a Printed Watermark background: You might want to customize the blank background of your Word document either to advertise your business or... en.kioskea.net/faq/sujet-316-background-image-printed-watermark-with-microsoft-word

Résultats pour MS Word Footer Macro Different Front page

Double underline in wordHello, Is there any way to double underline a word in MS Word and also to circle a word in a paragraph? Thanks en.kioskea.net/forum/affich-13948-double-underline-in-word
Preventing words to appearing on word sheetHello, Is there any way I can make a special space to stop two words appearing on different lines in Word - for example, I may want the words 'Mr' and 'Brown' to stay together on the same line no matter how I format the document... en.kioskea.net/forum/affich-13609-preventing-words-to-appearing-on-word-sheet
Firefox - websites not loadingHello, I have recently managed to get my laptop infected with spyware, trojans etc. My internet browsers(both IE & Firefox) not only open random popups and sites, but also fail to load certain websites, like facebook, google search(only the front page... en.kioskea.net/forum/affich-8868-firefox-websites-not-loading

Résultats pour MS Word Footer Macro Different Front page

Download Advanced WordReplacerThe programs of treatment of texts as MS Word allows to replace words of a text without having to correct them one after another. But when it is necessary to replace the same words on several different applications, it is everything a task. Advanced... en.kioskea.net/telecharger/telecharger-697-advanced-wordreplacer
Download Password HasherThe different customers online mails and other customers of freight forwarding or others, request the use of login and of password. Then not to make the similar, you choose words of the different login as every count with the same password. Password... en.kioskea.net/telecharger/telecharger-754-password-hasher
Download Quick Word to PDFTo transfer your documents most in possible security, there is not better than format PDF. Then, to convert your documents Word into PDF, adopt the quick program Word to PDF. Quick Word to PDF is a tool which integrates with the interface of... en.kioskea.net/telecharger/telecharger-609-quick-word-to-pdf

Résultats pour MS Word Footer Macro Different Front page

HTML - Hyperlinks Hypertext links or hyperlinks (anchors) are HTML elements that, when clicked on, enable readers to visit a new address. Hyperlinked text is underlined by default. Hyperlinks are what connect web pages to one another. They are used to travel: to... en.kioskea.net/html/htmlhypertxt.php3
Processes - msbb - msbb.exe The process msbb.exe (msbb) may indicate the presence of the spyware msbb, whose goal is to record what pages you visit in order to deliver targeted popup advertisements. Here is a list of tips to help you disinfect your machine and learn about the... en.kioskea.net/processus/msbb-exe.php3
Data transmission - Introduction The purpose of a network is to transmit information from one computer to another. To do this, you first have to decide how to encode the data to be sent, in other words its computer representation. This will differ according to the type of data,... en.kioskea.net/transmission/transintro.php3