Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Have a macro in Book1.xls
Had some spreadsheets open, and ran the macro on one of them. Somehow the macro got attached to another spreadsheet that happend to be open at the time. Now evertime I run the macro the unrelated spreadsheet opens. If I delete the spreadsheet, the macro doesn't run. How can I prevent this? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
is the name of the "unrelated" workbook Personal.xls? if so, next time it opens, choose window / hide and this should solve your problem - if it isn't Personal.xls please paste the code and let us know the name of the "unrelated" workbook we might be able to figure out what is going on. Cheers JulieD "J Shrimps, Jr." wrote in message ... Have a macro in Book1.xls Had some spreadsheets open, and ran the macro on one of them. Somehow the macro got attached to another spreadsheet that happend to be open at the time. Now evertime I run the macro the unrelated spreadsheet opens. If I delete the spreadsheet, the macro doesn't run. How can I prevent this? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It isn't personal.xls, believe me, that spreadsheet
is well hidden. I've seen this happen before. The code is very generic, formating stuff and placing name of sheet into cell $A$2 and $B$4 so vlookup function can find associated data in other spreadsheets. Have used it for a month with no problems, now I got problems. Code is @ work and it's Saturday here so I can't post it. But I have seen this happen before with macros in book1.xls "JulieD" wrote in message ... Hi is the name of the "unrelated" workbook Personal.xls? if so, next time it opens, choose window / hide and this should solve your problem - if it isn't Personal.xls please paste the code and let us know the name of the "unrelated" workbook we might be able to figure out what is going on. Cheers JulieD "J Shrimps, Jr." wrote in message ... Have a macro in Book1.xls Had some spreadsheets open, and ran the macro on one of them. Somehow the macro got attached to another spreadsheet that happend to be open at the time. Now evertime I run the macro the unrelated spreadsheet opens. If I delete the spreadsheet, the macro doesn't run. How can I prevent this? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need help with recording a macro, attaching a button | Excel Worksheet Functions | |||
attaching Excel spreadsheet | Excel Discussion (Misc queries) | |||
attaching an image to Excel spreadsheet cell | Excel Worksheet Functions | |||
Attaching toolbars to spreadsheet, but macros do not follow? | Excel Programming | |||
Attaching drop down to macro | Excel Programming |