Dynamic Named Range Causes Crash

kwilliam10

Board Regular
Joined
Sep 6, 2007
Messages
145
Hi all,

Anyone run across this.....Over the past 1-2 years...I have setup a number of complex excel workbooks, that automate a lot of reporting for my employees. Suddenly, over the past couple months, I am finding that if I try to go back and edit many of my named ranges (created a while ago) that were created dynamically: "=OFFSET(Sheet1!$A$4,0,0,COUNTA(Sheet1!$A$4:$A$65000),4)"...excel crashes. I can't figure out why.

All I have to do is simply CLICK in the "Refers to:" field of the "Define Name" window (for the dynamically named range)....and I get "Microsoft Office Excel has encountered a problem and needs to close. We are sorry for the inconvenience."

If I drill down on "What is in the report", I see this "Error signature":

AppName: excel.exe AppVer: 11.0.8316.0 AppStamp:4ace3b8f
ModName: excel.exe ModVer: 11.0.8316.0 ModStamp:4ace3b8f
fDebug: 0 Offset: 00086d7a

I can't now edit the named ranges...without excel crashing....every time. This appears to be happening to nearly all my older (1 -2 years) workbooks. I have tried copying the data (in the range refered to) to another worksheet...and recreating the named range, dynamically again......works fine. So, it doesn't appear to be an issue with the data.

Could there be an issue with data, having refreshed so many times...that the dynamic named range gets corrupt, or something? What is strange is that the ranges are correct. I have pivot tables referencing the ranges. They DO properly update. I just can't edit the named range.

Any help is greatly appreciated. I'd hate to think I need to go through ALLLLLLLL my workbooks.....manually overriding the named ranges {if that would even work.}

Thanks,

Keith W.
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Do you have frozen panes applied to the workbook while doing this?
 
Upvote 0
Holy COW!!! Absolutely hit the nail on the head!! Great job! Yes...I DID have frozen windows. Once I unfroze them....everything worked as usual.

Thank you so much!!!! Gold Star for the day!! You just turned my New Year right around.

Kind Regards,

Keith W.
 
Upvote 0
It's a bug (one of several) with a recent MS update. Hopefully they will get it fixed in the next few months as a LOT of people are starting to be affected by it.
 
Upvote 0
Hi Rory

Are you able to adsvise which Microsoft update is causing this error? Our users do need to use Frozen Pane. So i was hoping to unstall the update??

Ive done a Office update with no luck :( So im assuming MS still have not found a fix yet.

Please help

Thank you
 
Upvote 0
Are you using XL2003? there is now a hotfix available - I will post the link when I am back in the office.
 
Upvote 0
Thanks for following up on this. This issue has caused me no end of headache.

Actually, excel, in general, seems to be much more unstable since that security update. It makes me MUCH more reluctant to apply future updates.

Regards,

Keith W.
 
Upvote 0
Hi Rory

Thankyou sooo much for your reply. However this hotfix or workaround did not fix my problem.

When my users have frozen plane turned on they can not create a formula to link to other worksheets, without it crashing. Eg - If i put an '=' sing on cell 'a1' in 'workseet1' and link it to 'b3' in 'worksheet2' - Excel crashes.

The MS article talks about unprotecting a sheet. I did run the hotfix and I still have the same problem. :(

Your help is GREATLY appricated....

Thank you

Niro
 
Upvote 0
I believe that if you turn off the 'edit directly in cell' option, that can cure it?
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,895
Members
449,097
Latest member
dbomb1414

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top