OK, try to follow my code modules here. I have a top-level Function-
inside this Function is a SubPlease Login or Register to view this content.
inside that Sub is a command to open an Excel workbook which is closed:Please Login or Register to view this content.
The problem is that the Workbooks.Open method does not work when I am using fit_surface_node as a Function. When I say I am using it as a Function, I mean that I have set the Boolean output_to_sheet as False, which skips any line of code which modifies any cell besides the one in which fit_surface_node resides.Please Login or Register to view this content.
I know that a Function cannot modify other cells, but is it also prohibited from opening a workbook?
Bookmarks