Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have created a macro which copies some charts from 1 workbook to
another. This is repeated for several worsheets in 1 workbook. It completes the entire task very well, however it crashes excel after the macro is run. It does not allow me to save the workbook. What could be the problem? This is an urgent request from my customer and this problem is affecting my work. Please help. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Could be many things, but try cutting the code up into smaller sections and
then step through it using the debugger. -- Regards, Nigel "Arlette" wrote in message ... I have created a macro which copies some charts from 1 workbook to another. This is repeated for several worsheets in 1 workbook. It completes the entire task very well, however it crashes excel after the macro is run. It does not allow me to save the workbook. What could be the problem? This is an urgent request from my customer and this problem is affecting my work. Please help. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have done that..i have split the code...however it still
crashes....actually it crashes for workbooks that have about 20+ sheets...for the others it works fine...what do i do in this case? |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In which case it sounds like a memory problem. How you release memory
depends on the code used to create the objects. -- Regards, Nigel "Arlette" wrote in message ... I have done that..i have split the code...however it still crashes....actually it crashes for workbooks that have about 20+ sheets...for the others it works fine...what do i do in this case? |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have actually not created any objects...there were charts in the
source document already. I just pick those and copy them to the other blank workbook. ... so i dont have any objects in my macro as such....should i go ahead and blank out the charts that i reference? by mapping them to =nothing.? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Urgent - VBA Code Not Running | Excel Programming | |||
Excel crashes if project is not compiled (urgent help please!) | Excel Programming | |||
My Macro crashes excel - anyone know why. | Excel Programming | |||
Very urgent help needed: Excel is still running after closing it! | Excel Programming | |||
Urgent Help needed - I need to stop a process that is running forever in Excel | Excel Discussion (Misc queries) |