Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
ronaldwang
Creator III
Creator III

Nprinting excel template with text box

I am using excel template where i insert table object in cell A5 and then have a pre-defined text box put in cell W5.

what i want is that when table object is populated text box should move and adjust with cell size. but the result is that the whole text box is pushed below the table. any solution for this?

Capture.PNG

1 Solution

Accepted Solutions
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Ok Ronald - here is the thing: Text box is not an object which lives in particular cell - therefore you will not be able to enforce it to change / expand with the table. It will always keep the original size.

In terms of its original position:

What you can do is to keep it in cell W5 by unchecking "Exapnd Range" checkbox in NPrinting designer for the table tag/node.

Capture.PNG

that is all what you can do

cheers

Lech

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.

View solution in original post

4 Replies
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi Ronald,

Just QQ-Is your Table object Straight or Pivot Table?

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Ok Ronald - here is the thing: Text box is not an object which lives in particular cell - therefore you will not be able to enforce it to change / expand with the table. It will always keep the original size.

In terms of its original position:

What you can do is to keep it in cell W5 by unchecking "Exapnd Range" checkbox in NPrinting designer for the table tag/node.

Capture.PNG

that is all what you can do

cheers

Lech

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

One more option:

If you want to have merged cell accross all rows alongside table maybe instead of using textbox you can just merged cells (marked in yellow) like in screenshot 1 below with "Expand Range" checked.

1.png

Once you produce report the merged cells area expands ....

2.png

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
ronaldwang
Creator III
Creator III
Author

Thanks Lech, it is a straight table