Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Field IF
Hi! I am new here and i need help with field IF. I am trying to use IF field in word 7 and it is not working to me :-(. I tried this:
IF {numpages}=2 "{page}/{numpages}" "" I want to print page number only if the whole document is more than two pages. But this is not working. when i use IF {numpages}=2 "ok" "not" it will write ok on every page and still ok if is only one page in document |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Field IF
Hi,
I am trying to use IF field in word 7 and it is not working to me :-(. Although I no longer have Word 7 installed (I think that was 15 years ago), I'll try to help. If your document has only ONE page, the field will show nothing. If your document is greater than ONE page, the field will show Page/Numpages on each page. That's not what you want. You want to show a result, if CURRENT Page is equal or greater than 2. { IF { Page} = 2 "{ Page}/{ NumPages }" "" } -- Cheers, Lisa |
#3
|
|||
|
|||
Thank you for reply, but even this not working. The problem is, that the field cannot result item with braces and cannot print item with braces. And this is what i need help. I'm trying to ask support, because no one in my work can help me and we very need it.
|
#4
|
|||
|
|||
i tried edit my prev post, but it cannot save it ..
I am back with answer to my question. The mistake was, that the text with braces ({page}) was typed from keyboard. And this need to be inserted from field. The right process is: ctrl+F9 type IF and space menu field {numpages} space space 1 space " menu field {page} / menu field {numpages} space "" Result is: {if {numpages} 1 "{page}/{numpages}" ""} The braces in this sentence are visible with dotted border. I made a screenshot, in attachment. Thank you and bye! |
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Field IF
Indeed, as you have found, to create nested fields (fields containing other
fields) you must insert the field delimiters, { }, directly into the document using a keyboard shortcut. Similarly, you can't create nested fields from within the Field dialog box. -- Stefan Blom Microsoft Word MVP "Misazap" wrote in message ... i tried edit my prev post, but it cannot save it .. I am back with answer to my question. The mistake was, that the text with braces ({page}) was typed from keyboard. And this need to be inserted from field. The right process is: ctrl+F9 type IF and space menu field {numpages} space space 1 space " menu field {page} / menu field {numpages} space "" Result is: {if {numpages} 1 "{page}/{numpages}" ""} The braces in this sentence are visible with dotted border. I made a screenshot, in attachment. Thank you and bye! +-------------------------------------------------------------------+ |Filename: If.png | |Download: http://www.wordbanter.com/attachment.php?attachmentid=188| +-------------------------------------------------------------------+ -- Misazap |
#6
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Field IF
By the way, I'm wondering if you are actually using Word 2007, rather than
"Word 7" which would be a very old version, as Lisa noted. The "complete" version number is different from the year a version was released. For example, Word 2013 corresponds to release 15. On my system, the exact version number is 15.0.4605.1001. In Word 2013, you will find the version number at File tab | Account | About Word, but this has changed many times over the past versions. (Older versions of Word made use of Help | About, which was very easy to remember.) -- Stefan Blom Microsoft Word MVP "Misazap" wrote in message ... i tried edit my prev post, but it cannot save it .. I am back with answer to my question. The mistake was, that the text with braces ({page}) was typed from keyboard. And this need to be inserted from field. The right process is: ctrl+F9 type IF and space menu field {numpages} space space 1 space " menu field {page} / menu field {numpages} space "" Result is: {if {numpages} 1 "{page}/{numpages}" ""} The braces in this sentence are visible with dotted border. I made a screenshot, in attachment. Thank you and bye! +-------------------------------------------------------------------+ |Filename: If.png | |Download: http://www.wordbanter.com/attachment.php?attachmentid=188| +-------------------------------------------------------------------+ -- Misazap |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Missing date field in file select field (get data source) | Mailmerge | |||
File Name Field With Text Form Field When Performing a Save As... | Microsoft Word Help | |||
Copy portion of text form field , the field is in a table cell | Tables | |||
Help on Mailmerge field (field length) - field getting truncated | Mailmerge | |||
Mail merge field different in datasource & insert a field menu | Mailmerge |