How To Use Case Generation
The Case Generator lives under the Toolbox menu button on the Petroleum Office ribbon. Its dialog has 4 range inputs.
- Select File Template — choose the cell with the name of the file template. Important: this file must be in the same directory as your current Excel file. Click "Open File Folder" to open the current file's directory in Windows Explorer.
- Select Tokens — select the horizontal cell range with token placeholders. These tokens will be replaced during file generation with specific values. Tokens must be unique.
- Select Cases — select the vertical cell range with file names for each case. All names must be unique.
- Select Token-Value Table — select the cell range with values for tokens.
Click Generate Files. All generated files will land in the same folder as the template.
Below: example content of a simple file template alongside the content of a generated file.

