PC Review


Reply
Thread Tools Rate Thread

checkbox for macros?

 
 
=?Utf-8?B?Y2hpbGRvZnRoZTE5ODBz?=
Guest
Posts: n/a
 
      17th Mar 2007
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 With Quote
 
 
 
 
Tom Ogilvy
Guest
Posts: n/a
 
      17th Mar 2007
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" <(E-Mail Removed)> wrote in
message news:58FCFAAB-3E72-4120-B74D-(E-Mail Removed)...
> 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 With Quote
 
=?Utf-8?B?Y2hpbGRvZnRoZTE5ODBz?=
Guest
Posts: n/a
 
      17th Mar 2007
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" <(E-Mail Removed)> wrote in
> message news:58FCFAAB-3E72-4120-B74D-(E-Mail Removed)...
> > 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Checkbox macros LN Microsoft Excel Misc 2 6th Jan 2009 06:13 AM
checkbox that controls macros??? =?Utf-8?B?Y2hpbGRvZnRoZTE5ODBz?= Microsoft Excel Setup 0 6th Mar 2007 12:40 PM
checkbox with two macros =?Utf-8?B?Sm9zZSBDYXJsb3M=?= Microsoft Excel Programming 1 19th Sep 2006 12:13 PM
checkbox and macros =?Utf-8?B?VGRlYmI4NTk0?= Microsoft Excel Worksheet Functions 1 14th Jan 2005 10:00 PM
Checkbox Macros Joe Strommen Microsoft Excel Programming 1 31st Dec 2003 09:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:08 PM.