Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Checkbox macros | Excel Discussion (Misc queries) | |||
checkbox that controls macros??? | Setting up and Configuration of Excel | |||
checkbox with two macros | Excel Programming | |||
checkbox and macros | Excel Worksheet Functions | |||
Checkbox Macros | Excel Programming |