VBA & Macro Problems

Change Font Color by User in a Shared Excel Workbook

Camila MilosovichCamila Milosovich Dec 2, 2026 868 views

Question details

Determine whether Excel can automatically change font color based on who edits a shared workbook and identify a practical alternative.

Change Font Color by User in a Shared Excel Workbook
Product
Microsoft Excel
Device & OS
not provided
Scenario
Multiple users edit a shared workbook, and the owner wants text colors to distinguish editors.
Observed behavior
Excel does not provide a standard worksheet feature that automatically changes font color based on the current editor.
Before you start

Choose a column for editors to enter their names and decide which colors to assign. The example below uses column A for names and applies formatting to columns B through D.

Solution 1Recommended

Use an editor column and conditional formatting in Excel

Use this method when collaborators can enter their names manually for each row they edit.

The rules color a row's selected cells according to the name in column A. They do not independently identify the person who edited each cell.

1
Add editor names

Label cell A1 as Editor, and ask each collaborator to enter their name in column A on the row they edit.

2
Select the data range

In Excel, select B2:D100, or select the corresponding data cells in your workbook without including the header row.

3
Create a formatting rule

In Excel for desktop, choose Home > Conditional Formatting > New Rule > Use a formula to determine which cells to format. Enter =$A2="Alex", replacing Alex with an editor's name.

4
Choose a font color

Select Format > Font, choose a color, and select OK to save the rule.

5
Add rules for other editors

Create another rule for the same range for each editor, changing the name in the formula and choosing a different font color.

Use an editor column and conditional formatting in Excel
The editor field is manual: Collaborators must update the editor name when they change a row. The resulting color reflects the entered name, not a verified editing history.
Free Microsoft Office alternative

Work with shared spreadsheet files in WPS Office

WPS Office is a free, lightweight Office alternative with a familiar interface and Excel format compatibility for an easier move between office suites. It does not automatically identify an editor and color their changes.

Use conditional formatting to distinguish entries by an explicit editor fieldOpen and edit Microsoft Excel XLSX filesWork in a familiar spreadsheet interfaceUse a free, lightweight Office alternative
microsoft office alternative - wps office

Frequently Asked Questions

Can Excel automatically color text based on the current user?

Excel has no standard worksheet feature that automatically changes font color based on the current editor. An explicit editor column with conditional formatting is a manual alternative.

Can a VBA macro apply a different font color for each user?

A VBA macro can detect a user name and apply formatting, but it depends on the environment and macro permissions. VBA does not run in Excel for the web, and behavior in co-authored workbooks should be tested before relying on it.

Will the conditional formatting show who edited each individual cell?

No. A rule such as =$A2="Alex" colors the selected cells in a row based on the name entered in A2. It does not verify who edited each cell.

How can I see who made changes instead of using colors?

For a supported shared workbook, use Excel's Review > Show Changes to inspect available change information, or open the file's version history to review earlier versions.