Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-02-2023, 06:35 AM
Ddadoo57 Ddadoo57 is offline Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod Windows 11 Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod Office 2021
Advanced Beginner
Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod
 
Join Date: Feb 2023
Posts: 71
Ddadoo57 is on a distinguished road
Post Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod

Bonjour,
J'ai un document word écrit sur 2 colonnes et dont le nombre de page varie, c'est une brochure faite mensuellement. Il y a qu'un seul pied de page à savoir à la dernière page (215 mots sur 12 lignes).

Pour cela j'utilise {IF { PAGE } = { NUMPAGES }"mon pied de page dernière page" ""} inséré dans le pied de page de la première page, celui de la page paire 1 et la page impaire 1, le reste des pages se gère tout seul.

"Tout marche bien" sauf qu'il y a un truc qui cloche au niveau de la saisie du texte au moment où le pied de page doit s'enlever et passer à la page suivante.
A ce moment là, à chaque frappe de caractère, la page en cours bouge à droite et à gauche à chaque touche enfoncée. Comme si la condition IF était réévaluée pour chaque nouveau caractère saisi.

Voici le déroulement :
(1) je double clique sur mon modèle de base, cela m'ouvre un document vierge d'une seule page, avec mon entête de première page, un corps de document vide sur 2 colonnes, et le pied de page en question qui sera poussé jusqu'à la dernière page.
(2) je remplis les 2 colonnes avec du texte et ce jusqu'au dessus du pied de page de la page 1. A ce niveau j'ai, mon document fait 1 page, avec son entête, un corps sur 2 colonnes rempli de texte et mon pied de page

(3) et là dès que j'écris un caractère de plus, le pied de page disparait (ce qui semble normal) mais à chaque saisie de caractère, la page se met à aller de droite à gauche.
(4) après que les 2 colonnes de la page 1 sont entièrement remplis avec ce chahutemant, la saisie redevient normale, mon texte continu sue la page 2, je remplis à nouveau les 2 colonnes jusqu'au dessus du pied de page puis rebelotte même problème qu'en (3)

A savoir : si mon pied de page contient peu de mots, ça fonctionne très bien

Quelqu'un aurait il rencontré ce problème ou aurait une solution pour m'aider ?

Merci pour le temps que je vous prends

Cordialement,
Dadoo


================================================== ==========
Google Translate from moderator
================================================== ==========
Good morning,

I have a word document written on 2 columns and whose number of pages varies, it is a monthly brochure. There is only one footer namely on the last page (215 words in 12 lines).

For that I use {IF { PAGE } = { NUMPAGES }"my footer last page" ""} inserted in the footer of the first page, that of the even page 1 and the odd page 1, the rest pages manages itself. "



Everything works well" except that there is something wrong with the text input when the footer must be removed and go to the next page. At this time, with each character keystroke, the current page moves right and left with each key press. As if the IF condition was re-evaluated for each new character entered.

Here is the process:

(1) I double click on my basic template, it opens me a single page blank document, with my first page header, an empty document body on 2 columns, and the footer in question which will be pushed to the last page.

(2) I fill the 2 columns with text and this up to the top of the footer of page 1. At this level I have, my document is 1 page, with its header, a body on 2 columns filled with text and my footer

(3) and there as soon as I write one more character, the footer disappears (which seems normal) but with each character entry, the page starts to go from right to left.

(4) after the 2 columns of page 1 are completely filled with this heckling, the typing becomes normal again, my continuous text on page 2, I fill the 2 columns again up to the top of the footer then repeat the same problem only in (3)

To know: if my footer contains few words, it works very well

Has anyone encountered this problem or have a solution to help me?

Thank you for the time that I take you

Cordially, Dadoo

Last edited by Charles Kenyon; 02-02-2023 at 07:34 AM. Reason: translate
Reply With Quote
  #2  
Old 02-02-2023, 07:39 AM
Charles Kenyon Charles Kenyon is offline Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod Windows 11 Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod Office 2021
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,083
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Hello, I took the liberty of using Google translate to add to your post in English on this English-language forum.

It appears you are using the Footer on last page field construction. Your process looks like it would put this in the First-Page footer but I doubt that is what you are doing.

Could you attach a short sample document with the problem?
How to attach a screenshot or file in this forum.

(Word file, not screenshot)

================================================== =============================
Bonjour, j'ai pris la liberté d'utiliser Google translate pour compléter votre message en anglais sur ce forum anglophone.

Il semble que vous utilisiez la construction du champ Pied de page sur la dernière page. Votre processus semble mettre ceci dans le pied de page de la première page, mais je doute que ce soit ce que vous faites.

Pourriez-vous joindre un court exemple de document avec le problème ? Comment joindre une capture d'écran ou un fichier dans ce forum.

(Fichier Word, pas de capture d'écran)
Reply With Quote
  #3  
Old 02-02-2023, 07:55 AM
Ddadoo57 Ddadoo57 is offline Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod Windows 11 Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod Office 2021
Advanced Beginner
Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod
 
Join Date: Feb 2023
Posts: 71
Ddadoo57 is on a distinguished road
Default

Hello and thank you for your answer. I also use Google Translator to go faster

Here is an example with a word document attached.

Just write anything in the body of the document and you will see the problem appear when you get to the footers
Attached Files
File Type: docx pour forum.docx (16.6 KB, 4 views)
Reply With Quote
  #4  
Old 02-02-2023, 08:24 AM
Ddadoo57 Ddadoo57 is offline Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod Windows 11 Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod Office 2021
Advanced Beginner
Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod
 
Join Date: Feb 2023
Posts: 71
Ddadoo57 is on a distinguished road
Default

My goal is for the footer to be displayed only on the last page automatically.
Indeed, when I have only one page, the footer is displayed, since it is the last page.

However, with each new document creation from this template, I don't know the exact final page count. It is normally between 10 and 15 pages. That's why it must be done automatically with this formula or with vba code (I didn't find an auto solution in vba)
Reply With Quote
  #5  
Old 02-02-2023, 08:33 AM
Ddadoo57 Ddadoo57 is offline Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod Windows 11 Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod Office 2021
Advanced Beginner
Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod
 
Join Date: Feb 2023
Posts: 71
Ddadoo57 is on a distinguished road
Default

when we use the formula field with just a few words, for the text to be displayed, it works very well.

the problem comes when there is a lot of text, like in my case.

A vba solution, might be to dynamically enlarge the bottom margin height of the last page, but I don't know how to do this dynamically, automatically.
Reply With Quote
  #6  
Old 02-02-2023, 02:44 PM
Charles Kenyon Charles Kenyon is offline Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod Windows 11 Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod Office 2021
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,083
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

If the amount do be displayed exceeds the capacity of an IF field, put your text into an AutoText entry in your template and then where you want it displayed (in the IF field) use an AutoText field referring to the entry.

You can actually store as any kind of building block and use the AutoText Field.
Reply With Quote
  #7  
Old 02-02-2023, 02:46 PM
Charles Kenyon Charles Kenyon is offline Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod Windows 11 Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod Office 2021
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,083
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Quote:
Originally Posted by Ddadoo57 View Post
when we use the formula field with just a few words, for the text to be displayed, it works very well.

the problem comes when there is a lot of text, like in my case.

A vba solution, might be to dynamically enlarge the bottom margin height of the last page, but I don't know how to do this dynamically, automatically.

You do not need to increase the bottom height of the footer. The area allocated to it will expand to fit whatever content you insert. A problem comes with the IF field, though, if the content inserted more than fills the last page (creating a new last page).
Reply With Quote
  #8  
Old 02-03-2023, 02:55 AM
Ddadoo57 Ddadoo57 is offline Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod Windows 11 Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod Office 2021
Advanced Beginner
Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod
 
Join Date: Feb 2023
Posts: 71
Ddadoo57 is on a distinguished road
Default

Thank you for the time you spend helping me.

I will try to implement what you suggest.

I'll come back to you after the tests...
Reply With Quote
  #9  
Old 02-03-2023, 10:31 AM
Charles Kenyon Charles Kenyon is offline Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod Windows 11 Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod Office 2021
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,083
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

I look forward to seeing your results.
Reply With Quote
  #10  
Old 02-03-2023, 12:09 PM
Ddadoo57 Ddadoo57 is offline Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod Windows 11 Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod Office 2021
Advanced Beginner
Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod
 
Join Date: Feb 2023
Posts: 71
Ddadoo57 is on a distinguished road
Default

Good evening

I implemented what you suggested, but the original problem is still there.

Here is what I have in my footer:

{IF {PAGE} = {NUMPAGES} {AUTOTEXT PDPTCVF} " "}

PDPTCVF is the building block created from the "text aera" button in the insert tab. This building block is saved in the text aera gallery.

Here is what I noticed more in my tests:
when I write my text and this until the moment when the footer must disappear and go to the next page (according to the IF formula...), and allow me to continue writing on the current page, if the display of the document on the screen is on "page width" or "full page", and that I see the entire bottom of the current page (I mean the bottom of the sheet of paper), the problem does not seem to appear.

On the other hand, if I do not see the entire bottom of the page displayed (of the sheet), the problem appears, the display of the document goes from right to left with each character entry, and that as long as I am on this page. If my display is on "several pages" the problem appears in any case.

I feel like this is a Word error that should be fixed. I can of course help to solve this problem.

Cordially,
David
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod PAGE and NUMPAGES fields in footer ?? ksor Word VBA 3 02-02-2018 10:14 PM
I have 20 page word document with a footer. Can i change page # 10 footer only? aligahk06 Word 2 10-25-2017 04:53 AM
Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod Showing "page of numpages" and "sectionpage of sectionpages" RobH Word 2 02-14-2016 04:12 PM
Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod Footer Issue mosquito Word 5 04-21-2015 03:38 PM
Footer issue with {IF { PAGE } = { NUMPAGES }"" ""} translated by mod making translated paragraphs consecutive user2969 Word 1 01-29-2014 09:00 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:06 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft