111962
(YU.)
February 9, 2022, 5:51am
1
I got this error when I tried to use write range.
【error Message】Cannot write to the target range because it has hidden rows. Remove any filters or unhide rows and try again. 【Source】Write Range - “東京”
here is the Excel I used, I want to make those hidden columns reappear and remove filters by RPA, is there any ways to resolve this problems without using send hotkey or keyboard shotcuts…
thank you very much!
Write range 対象Excel.xlsx (469.3 KB)
1 Like
Gokul001
(Gokul Balaji)
February 9, 2022, 5:55am
2
Hi @111962
We can use Excel application scope and a Read range activity where if the option use filter is disbaled it wont take the filter even if it is applied
Regards
Gokul
1 Like
Hi
Check with this custom component from UiPath market place
Hi ,
I have developed 2 new activities.
Find LastColumn that to find the last column Index and Column Name of the sheet .
Find LastRow that to find the last row of the sheet and it returns the row index.
[image]
[image]
Find LastColumn’s Properties :
[image]
Find LastRow Properties :
[image]
Note :
If the sheet name is empty , It will take the first sheet name .
Here is the video demonstration.
[UiPath excel Extract Graph as Image | find last column Index| find last Row No…
Cheers @111962
1 Like
Gokul001
(Gokul Balaji)
February 9, 2022, 6:40am
4
Hi @111962
To remake the Hidden columns
Refer to this thread
Hi @Kirigirisu_Coin
You can try VBA by using invoke VBA activity,
Sub unhide()
Columns.EntireColumn.Hidden = False
End sub
Below is the document for how to use invoke VBA activity,
Or you can also try balareve activity to hide/unhide columns
Regards
Gokul
2 Likes
111962
(YU.)
February 9, 2022, 8:08am
5
Thank you very much.
I found that this property only shown in excel application scope(read range)
I removed filter by uncheck this property(UseFilter).
1 Like
111962
(YU.)
February 9, 2022, 8:10am
6
Thank you very much!
this thread is very helpful. I resolved this problem by using invoke VBA.
111962
(YU.)
February 9, 2022, 8:11am
7
Thank you very much.
I didn’t know this HideUnhide activity. I will check this later.
system
(system)
Closed
February 12, 2022, 8:11am
8
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.