checkbox for macros?

G

Guest

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
 
T

Tom Ogilvy

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top