Template - Excel
One of the new features in Infiniti from v8.5+ is the facility to generate Excel Spreadsheet files.
Create Excel Spreadsheet
Before we start this project an excel spreadsheet will have to created.
Open up Excel and follow the steps below.
How To Insert a placeholder
Method 1
- Select a cell
- Type the placeholder name in the
Define Name
text box of the cell
![EG3.png 689](https://files.readme.io/39b8002-EG3.png)
- Press Enter and the placeholder will be inserted.
Method 2
- Right click the cell where the placeholder is to be inserted and click
Define Name…
![EG5.png 690](https://files.readme.io/47b722e-EG5.png)
The New Name
box will appear
- Enter the placeholder name in the
Name:
text box and click OK. The placeholder will be visible in Design under thePlaceholder
tab
![EG6.png 317](https://files.readme.io/70af539-EG6.png)
How to Edit and Delete an existing placeholder
- Go To Formulas tab and click
Name Manager
![EG7.png 733](https://files.readme.io/64974a5-EG7.png)
The Name Manager
box will pop up
- To DELETE a placeholder, select the placeholder and click
Delete
button.
![EG8.png 407](https://files.readme.io/2bb7bfb-EG8.png)
- To EDIT a placeholder, select the placeholder and click
Edit…
button.
![EG9.png 407](https://files.readme.io/0806b8a-EG9.png)
The Edit Name
box will pop up
- To change the placeholder name, enter the new name in the
Name:
text box and change the placeholder location enter the new cell location in theRefers to:
textbox
![EG10.png 313](https://files.readme.io/edba9ca-EG10.png)
How to create repeating placeholders
- Select the cells to be repeated and enter the repeating placeholder name in the
Define Name
textbox
![EG11.png 598](https://files.readme.io/b66a339-EG11.png)
Insert the excel template into Infiniti
- Save the excel spreadsheet and create a new project in Infiniti.
Drag and drop the Excel template question onto the question set and choose the excel file you just created to upload.
![Untitled(3).png 980](https://files.readme.io/163617e-Untitled3.png)
The placeholder will be visible in Design. Placeholder_Repeat
is the repeating placeholder and Placeholder_Name
and Placeholder_Age
are the placeholders included inside the repeating placeholder.
- Map the placeholder to the required locations and specify the repeating placeholder under the properties tab of the section/page.
NOTE
The above example shows repeating a selection of cells in the excel file. For repeating the pages of the excel file, replace
Placeholder_Repeat
withSheet1
placeholder in thePlaceholder(s)
textbox
How to publish an Excel Project
- Open the project from Manage and click
Publish
button.
![Untitled(4).png 983](https://files.readme.io/e663579-Untitled4.png)
- Select the folder to which the project is to be published and specify the output format required from the
Spreadsheet
tab.
![Untitled(5).png 982](https://files.readme.io/b6f6081-Untitled5.png)
- Click Save button
How to run an Excel project in Produce
- Open the project and enter the values.
- Click Next and then Generate Document.
- Open the generated document
From the above example
If the placeholder mention in the repeating placeholder section in design was Placeholder_Repeat
then the output will be an excel file with 1 sheet and 4 rows.
![EG17.png 379](https://files.readme.io/8a472b9-EG17.png)
If the placeholder mention in the repeating placeholder section in design was Sheet1
then the output will be an excel file with 4 sheet and each with 1 row
![EG18.png 615](https://files.readme.io/1b97243-EG18.png)
Keywords: excel generation generate template document repeating placeholders
Updated almost 5 years ago