Question about retrieving the last row of an Excel spreadsheet to delete when the row is dynamic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-08-21 02:37 PM
I am trying to retrieve the last row of an Excel spreadsheet (which the last row is dynamic) in order to delete it then save the file. I used an Excel VBO Business Object and was able to count the number of rows and output that number into a data item (to be used to identify the last row of the spreadsheet). However when I run the process and it gets to the step where I have an action that uses the Excel VBO Business Object with the Action "Select", and reference the previously created data item as the Cell Reference value, its erroring (Exception: Failed to select row: Exception from HRESULT:0x800A03EC). I entered the Value of the Cell Reference as "[Number of Rows]:[Number of Rows]". I also tried using "[Number of Rows]". Got the same error. Since the Cell Reference has to be of type Text, I changed the data item's type to Text but still getting the same error. If I input numbers as the Cell Reference instead (Ex. "1:5"), it works. Is there a simple fix for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-08-21 03:02 PM
https://community.blueprism.com/communities/community-home/digestviewer/viewthread?GroupId=517&MessageKey=343adf74-f045-4f91-87a1-71e03f43cd51&CommunityKey=9efa2ecd-62b0-458a-b356-9b64643dccc5&tab=dig...
Cheers,
Eric
