ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   checkbox for macros? (https://www.excelbanter.com/excel-programming/385495-checkbox-macros.html)

childofthe1980s

checkbox for macros?
 
Hello:

My co-workers and I have researched this issue for our client hundreds of
times and we cannot seem to get an answer.

We have created a macro for a few workstations. The macro is ignited from
another application that exports data to Excel. After the data is dumped to
Excel, the macro formats the spreadsheet and does a few other things.

On that workstation--and just that workstation--two Excel spreadsheets are
created. There is supposed to be just one spreadsheet. The data from the
other application gets dumped into a named spreadsheet but, on this one
workstation, a second spreadsheet called "Book 1" is created. We want to
know how to prevent this additional Book 1 spreadsheet from being created.

It has to be something at this workstation that is causing this additional
spreadsheet (Book 1) and not the macro. We have looked at everything and we
have run out of ideas.

Is there a setup checkbox or something like that in Excel that creates an
additional spreadsheet, when a macro is run? Does anyone out there have any
ideas?

Thanks!

childofthe1980s

Tom Ogilvy

checkbox for macros?
 
This is just a guess, but
I would look the xlStart folder for that workstation and see if there is a
Book.xlt file or Book1.xlt file being used to set a custom default format
for new workbooks. If you find one, try moving this file and running your
macro and see if it remedys the problem.

--
Regards,
Tom Ogilvy

..



"childofthe1980s" wrote in
message ...
Hello:

My co-workers and I have researched this issue for our client hundreds of
times and we cannot seem to get an answer.

We have created a macro for a few workstations. The macro is ignited from
another application that exports data to Excel. After the data is dumped
to
Excel, the macro formats the spreadsheet and does a few other things.

On that workstation--and just that workstation--two Excel spreadsheets are
created. There is supposed to be just one spreadsheet. The data from the
other application gets dumped into a named spreadsheet but, on this one
workstation, a second spreadsheet called "Book 1" is created. We want to
know how to prevent this additional Book 1 spreadsheet from being created.

It has to be something at this workstation that is causing this additional
spreadsheet (Book 1) and not the macro. We have looked at everything and
we
have run out of ideas.

Is there a setup checkbox or something like that in Excel that creates an
additional spreadsheet, when a macro is run? Does anyone out there have
any
ideas?

Thanks!

childofthe1980s




childofthe1980s

checkbox for macros?
 
Thank you, Tom!!! I'll try it!!!

childofthe1980s

"Tom Ogilvy" wrote:

This is just a guess, but
I would look the xlStart folder for that workstation and see if there is a
Book.xlt file or Book1.xlt file being used to set a custom default format
for new workbooks. If you find one, try moving this file and running your
macro and see if it remedys the problem.

--
Regards,
Tom Ogilvy

..



"childofthe1980s" wrote in
message ...
Hello:

My co-workers and I have researched this issue for our client hundreds of
times and we cannot seem to get an answer.

We have created a macro for a few workstations. The macro is ignited from
another application that exports data to Excel. After the data is dumped
to
Excel, the macro formats the spreadsheet and does a few other things.

On that workstation--and just that workstation--two Excel spreadsheets are
created. There is supposed to be just one spreadsheet. The data from the
other application gets dumped into a named spreadsheet but, on this one
workstation, a second spreadsheet called "Book 1" is created. We want to
know how to prevent this additional Book 1 spreadsheet from being created.

It has to be something at this workstation that is causing this additional
spreadsheet (Book 1) and not the macro. We have looked at everything and
we
have run out of ideas.

Is there a setup checkbox or something like that in Excel that creates an
additional spreadsheet, when a macro is run? Does anyone out there have
any
ideas?

Thanks!

childofthe1980s






All times are GMT +1. The time now is 12:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com