Hello !
I’d like to get some helps for capturing some specific field of excel file.
Is it possible?
- Capture screen shot of specific field like below
- yellow remarked. (capture location is always fixed)
- Save the image to .png file or pdf.
Thank you for your help in advance !!
Although there isn’t a direct method available in UiPath Studio (to the best of my knowledge
) to achieve this, you may try one of the two following ways:
-
Use Take Screenshot UiPath activity
You can utilise the Misc options such as Target.Selector and/or Target.ClippingRegion to narrow down the area of screenshot.
-
Use Excel feature to Copy As Picture
Build a UI automation to implement this. Although Excel works much better in integrated automation setting, this requirement is not your usual Excel user case.
I hope this helps.
Happy Automation!
You might want to research the Screenshot activity in a bit more detail.
It has an option named Clipping Region.
You maybe able to come up with the rectangular area you want to clip based on your screen resolution.
Target.ClippingRegion - Defines the clipping rectangle, in pixels, relative to the UiElement, in the following directions: left, top, right, bottom. It supports both positive and negative numbers.
Also, the Marketplace has a Clipping Component created by UiPath for this purpose. You might want to search market place . But this might help you if your automation is attended.
Hope this helps.
Thanks
Hi @Dorothy_lee
You can try Excel sheet to image activity.
Regards
Hi @Dorothy_lee
Please refer the xaml below.
Main.xaml (6.7 KB)
project.json (1.5 KB)
Rergards
Thanks for your kind reply !!
I’ll try it!
Thanks for your kind reply !!
I’ll try it:)