BillKilgore
Programmer
Hi Everyone,
I've got an application that upgrades several Excel worksheets in separate files. Each file is a standalone. Each utilizes some basic values that must be present in each of the standalone file. Each of these values requires manual updating by the user. I would like have each of the standalones automatically be updated from a central file that is one of yet another set of Excel files and contains the basic values required.
The snag I've hit is that as Delphi opens each of the standalones Excel requests, with a Yes or No button in a box, if the user would like to update the standalone from the remote central file. A manual keyboard/mouse input is required from the user before the application will resume.
I want to have the application answer 'Yes' to the each Excel query automatically.
I've looked over the TBasicAction Class was unable to find something that would work. I've also tried to WRITELN a Carriage Feed (ASCII #13) to the Console but couldn't get it to compile.
I've also considered having the application open a flat file containing the values but those values are derived from another set of Excel files so the intermdiate flat file seems like an extra step and less elegant.
Have any of you out there have an answer to this approach?
Thank you in advance, Bill K.
I've got an application that upgrades several Excel worksheets in separate files. Each file is a standalone. Each utilizes some basic values that must be present in each of the standalone file. Each of these values requires manual updating by the user. I would like have each of the standalones automatically be updated from a central file that is one of yet another set of Excel files and contains the basic values required.
The snag I've hit is that as Delphi opens each of the standalones Excel requests, with a Yes or No button in a box, if the user would like to update the standalone from the remote central file. A manual keyboard/mouse input is required from the user before the application will resume.
I want to have the application answer 'Yes' to the each Excel query automatically.
I've looked over the TBasicAction Class was unable to find something that would work. I've also tried to WRITELN a Carriage Feed (ASCII #13) to the Console but couldn't get it to compile.
I've also considered having the application open a flat file containing the values but those values are derived from another set of Excel files so the intermdiate flat file seems like an extra step and less elegant.
Have any of you out there have an answer to this approach?
Thank you in advance, Bill K.