Add alert display function to list screen¶
Data that needs to be processed urgently can be displayed in red on the list screen.
Here, as an example, we will add the function to display the items whose unit price of the order list 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 Order List sheet (main sheet).
- Click on the column heading of the last column displayed and drag it to the right.
![]()
Hint
Drag the mouse to the right of the last column.
- With the entire last column selected, right-click on the column heading of the column and click "Unhide".
![]()
Tip
The hidden columns will be displayed.
![]()
- Enter the threshold in the first line of the displayed column.
![]()
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 "Redisplay" action on the list 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 Order List sheet (main sheet).
- Click the
button.
- Double-click the "Redisplay" action set.
Initialize the cell format of a table section¶
- Select the "Set cell format" action from the "Cells" tab and add it by dragging and dropping 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.![]()
- In the added "Set cell format" action, enter '=[sheet name]!B5 & [sheet name]!B3 & "":" & [sheet name]!B6 & [sheet name]!B4'.
![]()
Hint
This formula is complex, so please copy and paste it from the description above.The meaning of the formula is explained in the "Side note" section below, if you’re interested.Tip
This formula represents the range of the list, "From "Cell address at the start of the table" to "Cell address at the end of the table"".
The "Cell address at the start of the table" indicates the following cells
The "Cell address at the end of the table" indicates the following cells![]()
- Click the "Format" button for the added "Set cell format" action.
- Edit the items in the "Font" tab as follows
- Font: MeiRyo
![]()
- Use the "Borders" tab to set the left and right borders.
![]()
Hint
Black lines will appear on the left and right.
![]()
- On the "Borders" tab, set the color of the line to gray.
- On the "Borders" tab, set the remaining borders in step 10.
![]()
Hint
A gray line will appear.
![]()
- Click the "OK" button.
Add alert display function to list screen¶
- Copy the "Set value to sheet cell" action on line 17 by dragging and dropping it on top of the previous "Execute sheet action" action.
![]()
Hint
Make sure you copy it into the following image, taking care to position it so that it looks like the following image.
![]()
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 under the "Set value to sheet cell" action that 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 3 below.
![]()
Hint
Look for the actions listed in the comments below.Repeat for the number of acquisitions and perform the following process・Copy the search results to DB data・Set No.・Set the checkboxes in the Delete column.
- Drag and drop the "Determine condition" action from the "Control" tab into the "Repeat processing for the specified number of times" action that you added.
- Enter "=INDIRECT( "M" & [sheet name]!H3) < Q1" 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.The meaning of the formula is explained in the "Side note" section below, if you’re interested.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'".""M" & [sheet name]!H3" represents the cell address of "Unit price of that row".The ""M"" is the unit price column address,
The "[sheet name]!H3" displays the address of the row."Q1" is the address of the threshold cell set by Change screen layout.![]()
- Select the "Set cell format" action from the "Cells" tab and drag and drop it onto the "If ___ then" part of the "Determine condition" action you added.
- Enter "="M" & [sheet name]!H3" in the cell input field of the added "Set cell format" action.
![]()
Hint
If you are interested, the meaning of the formula is explained in the "Side note" section of Procedure 5.
- Click the "Format" button for the added "Set cell format" action.
- Edit the items in the "Font" tab as follows
- Font: MeiRyo
![]()
- Edit the "Lines" 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 the "Order List__for Control(Action)" sheet.
- Configure the added "Set value to sheet cell" actions as follows.
- Cell: "H3"
- Value:"=[sheet name]!H3 + 1"
![]()
Tip
For "=[sheet name]!H3 + 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




