Blue Prism Excel VBO Get Worksheet Only Visible?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-04-22 02:23 PM
How can I change this codestage for GetWorksheet to only get visibly values?
To read only visible data how would this codestage look like?
Dim ws as Object = _
GetWorksheet(handle, workbookname, worksheetname, False)
' Do we have a sheet?
sheetexists = ws IsNot Nothing
' No sheet? No entry.
If Not sheetexists Then Return
ws.Activate()
worksheetCollection = GetWorksheetUsedRangeAsDataTable(ws.UsedRange, True)
Anwser from @Nilesh Jadhav is to use
"Ws.Cells.SpecialCells(xlCellTypeVisible)"
Best Regards
Atli
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-04-22 08:31 PM
Use Cells.SpecialCells(xlCellTypeVisible).Show
Do let me know if any issue
Thanks
Nilesh
Nilesh Jadhav.
Consultant
ADP,India
Consultant
ADP,India
