Add alert display function to single-cut screen¶
Data that needs to be processed urgently can be displayed in red on the single-cut screen.
Here, as an example, we will add the function to display the items whose unit price of the quotation application is below the threshold value in red.
App Operation¶
Customization procedure¶
Change screen layout¶
Set the threshold to display alerts on the screen.
- Login to CELF and click the "Manage"button to open the Management screen.
- Double-click the app you want to customize.
- Double-click the quotation sheet (main sheet).
- In the "General" tab, increase the value of "Number of columns" by 1 and click the "OK" button.
- Enter the threshold in the first line of the rightmost column of the sheet.
![]()
Hint
Enter "5000" to "Display in red when the unit price is less than 5000 yen".
- Right-click the column heading in the column where you entered the threshold and select "Hide".
- Save and close the sheet.
Change the action to show rows that exceed the threshold in red¶
Open the action set in the single sheet screen.¶
- Login to CELF and click the "Manage"button to open the Management screen.
- Double-click the app you want to customize.
- Double-click the quotation sheet (main sheet).
- Click the
button.
Initializing the cell formatting of a statement section¶
- Double-click on the "Redisplay" action set.
- Select the "Apply format to cell" action from the "Cells" tab and add it to the top of the action set.
![]()
Hint
The area where you can add an action will change to orange. Make sure the color of the area you want to add changes and then release the mouse button.![]()
- Click the cell selection button for the added "Apply format to cell" action.
- Select the area of the table.
- Click the "Format" button for the added "Apply format to cell" action.
- Edit the items in the "Font" tab as follows
- Font: MeiRyo
![]()
- Edit the "Line" item on the " Borders" tab as follows.
- Color: Grey
![]()
- Click the "Presets" item below on the " Borders" tab.
- Preset: Outline
- Preset: Inside
![]()
- Click the "OK" button.
![]()
Hint
The formatting is now complete.
![]()
Add alert display function to single-cut screen¶
- Copy the "Set values to sheet cell" action in line 36 by dragging and dropping it under itself.
![]()
Hint
Look for the action commented as "Initialize the row counter".
Hint
You can copy an action by dragging and dropping it while holding down Ctrl.
- Add the "Repeat processing for the specified number of times" action from the "Control" tab by dragging and dropping it on top of the "Set value to sheet cell" action you copied.
- Set the number of repetition of the added "Repeat processing for the specified number of times" action to the same formula as the number of repetitions of the "Repeat processing for the specified number of times" action 2 below.
![]()
Hint
Look for the action that is commented as follows: "Repeat for the number of acquisitions and perform the following process -Copy the search results to the DB data".
- Select the "Determine conditions" action from the "Control" tab, and drag and drop it into the "Repeat processing for the specified number of times" action that you added.
- Enter "=AND( INDIRECT( "S" & [sheet name]!F2) < AB1 , INDIRECT( "S" & [sheet name]!F2) <>"" )" in the branching condition of the added "Determine condition" action.
![]()
Hint
This formula is complex, so please copy and paste it from the description above and make appropriate changes.If you are interested, the meaning of the formula is explained in the "Side note".Tip
This formula expresses the condition of a cell that is displayed with a red background color, "If the 'Unit price of that row' is below the 'Threshold' and if the 'Unit price of that row' is not blank".
'"S" & [sheet name]!F2' represents the cell address of "Unit price of that row".""S"" is the column address for the unit price,
and the "[sheet name]!F2" is the address of the row."AB1" is the address of the threshold cell set in "Change screen layout".![]()
- Select the "Apply format to cell" action from the "Cells" tab and drag and drop it onto the "If ___ then" part of the "Determine condition" action you added.
- Enter "="S" & [sheet name]!F2" in the cell entry field of the added action.
![]()
Hint
This formula is complex, so please copy and paste it from the description above and make appropriate changes.If you are interested, the meaning of the formula is explained in the "Side note".Tip
'"S" & [sheet name]!F2' represents the cell address of "Unit price of that row".""S"" is the column address for the unit price,
and the "[sheet name]!F2" is the address of the row.
- Click the "Format" button for the added "Apply format to cell" action.
- Edit the items in the "Font" tab as follows
- Font: MeiRyo
![]()
- Edit the "Line" item on the " Borders" tab as follows.
- Color: Grey
![]()
- Click the "Presets" item below on the " Borders" tab.
- Preset: Outline
- Preset: Inside
![]()
- In the "Fill" tab, edit the "Cell Shading Color" item and click the "OK" button.
- Shaded color of the cells: red
![]()
- Select the "Set value to sheet cell" action from the "Sheets" tab and copy it by dragging and dropping it underneath the "Repeat processing for the specified number of times" action you added in step 2.
![]()
Hint
Pay close attention to the position when adding, so that it looks like the following image.
![]()
- Click the "Select sheet"button of the added "Set value to sheet cell" action.
- Double-click on the "Quotation_for Control(Action)" sheet.
- Configure the added "Set value to sheet cell" actions as follows
- Cell: "F2"
- Value: "[sheet name]!F2 + 1"
![]()
Tip
For "[sheet name]!F2 + 1", add 1 to the row number.This action causes the value to increase each time it is repeated with the "Repeat processing for the specified number of times" action, covering all rows in the unit price column.
- Click the "OK" button on the action set.
Completed.
See also





