Beyond_avarice
Board Regular
- Joined
- Nov 13, 2012
- Messages
- 195
- Office Version
- 2007
- Platform
- Windows
Hey gang,
I have developed an excel template that my company can use to calculate and format their KPI stats. My company desired that the presentation include a header and footer that were Word specific and outputting to PDF. So originally this process involved copying the cells from the Excel file and paste as a picture to the Word doc; stretch and crop to size and save as PDF.
I have changed this process by re-creating the PDF layout with form fields and have designed the Excel template with Named ranges for each of the corresponding PDF form fields. I scripted the Excel template to export the Named ranges and respective values, to a Tab Delimited file; so that Acrobat can import into the correspondingly named form fields.
This is a contract position and so I need to keep everything as simple as possible for the next, average Accountant to be able to comprehend and take over the process.
Obstacle
I need to maintain the integrity of the Named cells. I do not want a Named cell to errantly be moved on top of another Named cell and effectively destroying that other Named cell. Acrobat requires that the import data have the first line (of the .txt) match the name of it's Form Fields and that the second line contain the data that will populate those fields. If a Named cell is effectively destroyed; then my script will not be able to identify the value that the Named cell was to contain; as the original Reference is destroyed.
I am trying to figure out a way to lock the Excel template range of cells from being moved around, but allow for the contents of these Named Cells to be manipulated. I am essentially trying to mimic Form Fields with just Excel cells, as the cells are easy to change data and formatting. Formatting in Acrobat requires at least the Standard package and knowledge of JavaScript and Regular Expressions. I need to keep this simple for the next average Accountant and that's why I need to make the original source of manipulation as the Excel template.
Locking the cells and protecting the sheet keeps them from being moved but also prevents changing the data. I need the cells locked into place but the contents open for manipulation. Yes, it is possible for the user to copy the data from the Excel template and one by one paste into each Form Field in Acrobat. But that is a lot of manual manipulation and I am looking at a similar project that would make that an unfeasible solution.
Thank you in advance.
I have developed an excel template that my company can use to calculate and format their KPI stats. My company desired that the presentation include a header and footer that were Word specific and outputting to PDF. So originally this process involved copying the cells from the Excel file and paste as a picture to the Word doc; stretch and crop to size and save as PDF.
I have changed this process by re-creating the PDF layout with form fields and have designed the Excel template with Named ranges for each of the corresponding PDF form fields. I scripted the Excel template to export the Named ranges and respective values, to a Tab Delimited file; so that Acrobat can import into the correspondingly named form fields.
This is a contract position and so I need to keep everything as simple as possible for the next, average Accountant to be able to comprehend and take over the process.
Obstacle
I need to maintain the integrity of the Named cells. I do not want a Named cell to errantly be moved on top of another Named cell and effectively destroying that other Named cell. Acrobat requires that the import data have the first line (of the .txt) match the name of it's Form Fields and that the second line contain the data that will populate those fields. If a Named cell is effectively destroyed; then my script will not be able to identify the value that the Named cell was to contain; as the original Reference is destroyed.
I am trying to figure out a way to lock the Excel template range of cells from being moved around, but allow for the contents of these Named Cells to be manipulated. I am essentially trying to mimic Form Fields with just Excel cells, as the cells are easy to change data and formatting. Formatting in Acrobat requires at least the Standard package and knowledge of JavaScript and Regular Expressions. I need to keep this simple for the next average Accountant and that's why I need to make the original source of manipulation as the Excel template.
Locking the cells and protecting the sheet keeps them from being moved but also prevents changing the data. I need the cells locked into place but the contents open for manipulation. Yes, it is possible for the user to copy the data from the Excel template and one by one paste into each Form Field in Acrobat. But that is a lot of manual manipulation and I am looking at a similar project that would make that an unfeasible solution.
Thank you in advance.