Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 122
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 122
Default 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




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Checkbox macros LN[_2_] Excel Discussion (Misc queries) 2 January 6th 09 06:13 AM
checkbox that controls macros??? childofthe1980s Setting up and Configuration of Excel 0 March 6th 07 12:40 PM
checkbox with two macros Jose Carlos Excel Programming 1 September 19th 06 12:13 PM
checkbox and macros Tdebb8594 Excel Worksheet Functions 1 January 14th 05 10:00 PM
Checkbox Macros Joe Strommen Excel Programming 1 December 31st 03 09:32 PM


All times are GMT +1. The time now is 08:05 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"