A
adam_kroger
I am writing a "client" spreadsheet using userforms. It needs to be
able to read from a "data" Workbook, and later on it will need to
write back to that workbook. I do not want to "lock" up the "data"
workbook for the entire duration. When finished, the "client" will
run with the Excel application hidden, so only the userforms will be
visible.
I am using "Application.GetOpenFilename" to find the name of the file
and storing that string in a cell.
I do not want the user to see the "data" workbook.
Problems I am experiencing:
-Opening the data workbook with the Excel application being "hidden"
the entire time
- Application.GetOpenFilename returns the FullName (as string) but
some functions want only the Name
Separate issue:
When executing the close command from the userforms, the VBA is
leaving the Excel application still running. How can I make the
actual Excel application close, unless of course the user has other
spreadsheets open?
THANKS
able to read from a "data" Workbook, and later on it will need to
write back to that workbook. I do not want to "lock" up the "data"
workbook for the entire duration. When finished, the "client" will
run with the Excel application hidden, so only the userforms will be
visible.
I am using "Application.GetOpenFilename" to find the name of the file
and storing that string in a cell.
I do not want the user to see the "data" workbook.
Problems I am experiencing:
-Opening the data workbook with the Excel application being "hidden"
the entire time
- Application.GetOpenFilename returns the FullName (as string) but
some functions want only the Name
Separate issue:
When executing the close command from the userforms, the VBA is
leaving the Excel application still running. How can I make the
actual Excel application close, unless of course the user has other
spreadsheets open?
THANKS