Hi All,
I would like to highlight the some of Excel Cells, As per below screen. Please help me how can i highlight the “A2” Cell in Excel.
Thanks in Advance,
Niranjan
Hi All,
I would like to highlight the some of Excel Cells, As per below screen. Please help me how can i highlight the “A2” Cell in Excel.
Thanks in Advance,
Niranjan
i think you missed to add the screen you mentioned. But you can use set range color activity
You could also use excel VBA
Hi @Niranjan_k
Use can use Invoke VBA activity.
Sub HighlightCell()
Range("A2").Interior.Color = RGB(255, 255, 0) 'Yellow color
End Sub
You can add if any more cells are needed in the same way.
Paste this code in a notepad file pass this path and method name as HighlightCell.
Hope it helps!!
Input:
Code Text file used:
Input.txt (94 Bytes)
Check out the workflow file for better understanding
Sequence7.xaml (7.1 KB)
Hope it helps!!
If you find solution for your query please mark it as solution to close the loop.
Happy Automation
Regards
If using classic activities use set range color activity
If using modern activities use format cells activity
Cheers
@Parvathy I’m in able to open the file can you share me screenshot of workflow
@Parvathy for Invoke VBA I’m not getting these many options. I got only two options
@Parvathy thank you for quick reply, But here I’m get ting Excel Application Scope: Error opening workbook. If Excel is installed, Run the “repair tool for Microsoft office interop’ from the tools tab on the Home Screen
@Parvathy Yes i did UiPath.Excel.Activities right, if not please suggest me
Don’t you have Microsoft Excel installed in your machine.
Regards,
@Parvathy Yes I have. But still I’m same Error
Hi @Niranjan_k
Make sure you have Excel Add in installed
Home-> Tools-> UiPath Extensions
Make sure you have UiPath.Excel.Activties installed
Manage Packages-> All Packages-> Type UiPath.Excel.Activities-> Install-> Save
Regards,
@Parvathy I have checked it is installed on my machine, another way we can fix this issue
Hi @Niranjan_k
Try this:
For this you need the dependancy UiPath.Excel.Activities
Regards,