Highlighted

Need a table Header Row to show current page # of total pages

Community Beginner ,
Aug 17, 2020

Copy link to clipboard

Copied

FM, unstructured, 2019. Created a table on body page that has a header row that includes a block that needs to show the current page # & the total page # in a cell. Is there any way to add a variable on the text page that will show the current page number in the cell when additional pages are added to the file? Also the page numbers in that block do not relate to the page numbering that shows in the footer of the document set up on the master page.

Adobe Community Professional
Correct answer by Barbara Ash | Adobe Community Professional

I am confused by the description of the issue and have the same question as Bob Niland. 

If you are trying to add a variable with the number of table sheets, you can click inside a table header cell or a table title and choose Table > Insert Table Variables, and choose Table Sheet (Sheet number of total count).

If you are trying to insert the actual document page number, click inside the table cell and open the Variables panel, select Page Count. Then click the edit button and change it to something similar to this:

image.png

TOPICS
Formatting and numbering

Views

54

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Need a table Header Row to show current page # of total pages

Community Beginner ,
Aug 17, 2020

Copy link to clipboard

Copied

FM, unstructured, 2019. Created a table on body page that has a header row that includes a block that needs to show the current page # & the total page # in a cell. Is there any way to add a variable on the text page that will show the current page number in the cell when additional pages are added to the file? Also the page numbers in that block do not relate to the page numbering that shows in the footer of the document set up on the master page.

Adobe Community Professional
Correct answer by Barbara Ash | Adobe Community Professional

I am confused by the description of the issue and have the same question as Bob Niland. 

If you are trying to add a variable with the number of table sheets, you can click inside a table header cell or a table title and choose Table > Insert Table Variables, and choose Table Sheet (Sheet number of total count).

If you are trying to insert the actual document page number, click inside the table cell and open the Variables panel, select Page Count. Then click the edit button and change it to something similar to this:

image.png

TOPICS
Formatting and numbering

Views

55

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Aug 17, 2020 0
Adobe Community Professional ,
Aug 17, 2020

Copy link to clipboard

Copied

Is this the total page # in the local table, or in the document to that point?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 17, 2020 1
Community Beginner ,
Aug 18, 2020

Copy link to clipboard

Copied

Thank you. I was able to solve the problem using the Table Sheet variable.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 18, 2020 0
Adobe Community Professional ,
Aug 17, 2020

Copy link to clipboard

Copied

I am confused by the description of the issue and have the same question as Bob Niland. 

If you are trying to add a variable with the number of table sheets, you can click inside a table header cell or a table title and choose Table > Insert Table Variables, and choose Table Sheet (Sheet number of total count).

If you are trying to insert the actual document page number, click inside the table cell and open the Variables panel, select Page Count. Then click the edit button and change it to something similar to this:

image.png

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 17, 2020 1
Adobe Community Professional ,
Aug 18, 2020

Copy link to clipboard

Copied

A little experimentation yesterday showed that the <$lastpagenum> variable returns the value of the last page number of the file or, if it is in a multi-file book, the value of the total number of pages UP TO THAT FILE.

 

If your document is only one file long it will, of course, return the value you're looking for, but if you have a multi-file book, it may not, depending on which file your table is in. For example, if your table is in the 4th file of a 5 file book with continuous page numbering and each file has, say, 10 pages in it, <$lastpagenum> will return the value of 40, not 50. 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 18, 2020 0
Community Beginner ,
Aug 18, 2020

Copy link to clipboard

Copied

Thank you so much for all your help. I wasn't familiar with the Table Sheet variable and that is exactly what I needed. I just edited the variable to take out the work "Sheet" and it is the solution.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 18, 2020 0
Sigi6578 LATEST
Community Beginner ,
Aug 18, 2020

Copy link to clipboard

Copied

Thank you for your help. The Table Sheet variable was the solution. I was just not familiar with it before.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 18, 2020 0