Skip to content

Commit 5b15a07

Browse files
authored
[excel] (Parameters) Add preview note (#637)
* Adjusting preview text * Fix example spacing * Adjusting preview note
1 parent aa37f82 commit 5b15a07

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/develop/user-input.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Get user input for scripts
33
description: Add parameters to Office Scripts so users can control their experience.
4-
ms.date: 08/15/2023
4+
ms.date: 08/22/2023
55
ms.localizationpriority: medium
66
---
77

@@ -12,7 +12,7 @@ Adding parameters to your script lets other users provide data for the script, w
1212
:::image type="content" source="../images/user-input-example.png" alt-text="The dialog box shown to users when a script with parameters is run.":::
1313

1414
> [!IMPORTANT]
15-
> Currently, users will only be prompted to enter data for parameterized scripts in Excel on the web. Power Automate flows also support giving data to scripts through parameters.
15+
> Currently, only select users in preview will be prompted to enter data for parameterized scripts in Excel on the web. Power Automate flows also support giving data to scripts through parameters.
1616
1717
## Example - Highlight large values
1818

@@ -37,9 +37,9 @@ function main(
3737
const rangeValues = usedRange.getValues();
3838
for (let row = 0; row < rangeValues.length; row++) {
3939
for (let column = 0; column < rangeValues[row].length; column++) {
40-
if (rangeValues[row][column] >= highlightThreshold) {
41-
usedRange.getCell(row, column).getFormat().getFill().setColor(color);
42-
}
40+
if (rangeValues[row][column] >= highlightThreshold) {
41+
usedRange.getCell(row, column).getFormat().getFill().setColor(color);
42+
}
4343
}
4444
}
4545
}

0 commit comments

Comments
 (0)