I have three Excel apps using VBA and running into memory problems. The topmost app PPMS_SYSTEM is basically a Project control app which keeps track of project id's and project related attributes. The user selects a project and PPMS_SYSTEM creates a sheet which is to be passed onto one of the other sub apps EST_SYSTEM or RBS_SYSTEM. However upon trying to load EST_SYSTEM we run into insufficient memory. PPMS_SYSTEM is not unloaded until EST_SYSTEM is loaded. Both PPSM_SYSTEM and EST_SYSTEM function independently, except for the project sheet (20 cells only) to be passed from PPMS_SYSTEM to either the EST_STYSTEM or RBS_SYSTEM. I was contemplating using PowerShell to load PPMS_SYSTEM and create the Project ID data sheet as an ASCII file and then EXIT out of EXCEL and reload EXCEL and EST(or RBS)_SYSTEM and then read in the PROJECT ID ASCII file. Doing it in this way I avoid having both the PPMS_SYSTEM and EST(or RBS)_system in memory at the same time.
Does anyone have experience executing EXCEL and VBA programs using PowerShell. I am looking at a Powershell User Interface, whereby the user can select:
(a) from Windows, Powershell will be activated and load EXCEL and start the PPMS_SYSTEM, upon selection of a Project ID by the user, PPMS_SYSTEM creates the Project ID ASCII file and exits out of EXCEL (ie unloads EXCEL) and control is transferred back to Powershell
(b) Powershell loads EXCEL and the user can select either the EST_SYSTEM or the RBS_SYSTEM and add more project data
(c) when user has completed processing/adding/modifying project data, the user will exit out of Excel and return to Windows
Does anyone have experience executing EXCEL and VBA programs using PowerShell. I am looking at a Powershell User Interface, whereby the user can select:
(a) from Windows, Powershell will be activated and load EXCEL and start the PPMS_SYSTEM, upon selection of a Project ID by the user, PPMS_SYSTEM creates the Project ID ASCII file and exits out of EXCEL (ie unloads EXCEL) and control is transferred back to Powershell
(b) Powershell loads EXCEL and the user can select either the EST_SYSTEM or the RBS_SYSTEM and add more project data
(c) when user has completed processing/adding/modifying project data, the user will exit out of Excel and return to Windows