92
Views
3
Comments
[Advanced Excel] workbook_close, should we use it?
Question
excel-png
Web icon
Forge component by Carlos Freitas

Hi,


I am wondering, when opening a workbook, is it necessary to also call the workbook_close action?

(just reading an excel btw)

Hi,


the workbook_close action does the Dispose of the Workbook variable, so it should free the allocated memory quicker.

mvp_badge
MVP

J. wrote:

Hi,


I am wondering, when opening a workbook, is it necessary to also call the workbook_close action?

(just reading an excel btw)

J, you don't have to, but it would be considered "good practice" to intentionally release the consumed memory, instead of relying on the underlying garbage collection to do so.

Hanno


How to read the data os two sheets of excel file in outsystems by using advanced_excel forge component

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.