R
Ragnar Midtskogen
Hello,
I have written a VB6 application that parses apart the sheets in an Excel
workbook into a number of small workbooks based on values in a column.
The spreadsheets have formulas, some of them reference other workbooks, so
whenever the program opens a sheet I get a dialog asking if I want to
update. I can get rid of this by manually replacing all the formulas with
data before running the program, but the workbook has five sheets and a
number of hidden columns, so it is a bit of work to do it. The client would
prefer if this was handled automatically.
I think I know how to replace all the formulas with data by using code, but
I can't figure out how to get around the dialog the first time I open a
sheet.
The simplest would be to have the program respond to the dialog by selecting
'No' when the program is running.
An alternate solution would be to replace all the formulas with data before
starting to process the workbook, which would require the user to respond
only once, unless I could find a way to respond automatically to the dialog.
Any help with this would be appreciated.
Ragnar
I have written a VB6 application that parses apart the sheets in an Excel
workbook into a number of small workbooks based on values in a column.
The spreadsheets have formulas, some of them reference other workbooks, so
whenever the program opens a sheet I get a dialog asking if I want to
update. I can get rid of this by manually replacing all the formulas with
data before running the program, but the workbook has five sheets and a
number of hidden columns, so it is a bit of work to do it. The client would
prefer if this was handled automatically.
I think I know how to replace all the formulas with data by using code, but
I can't figure out how to get around the dialog the first time I open a
sheet.
The simplest would be to have the program respond to the dialog by selecting
'No' when the program is running.
An alternate solution would be to replace all the formulas with data before
starting to process the workbook, which would require the user to respond
only once, unless I could find a way to respond automatically to the dialog.
Any help with this would be appreciated.
Ragnar