PC Review


Reply
Thread Tools Rate Thread

How do I delete an attached commandbar in an Excel 2007 Workbook?

 
 
ALF-E
Guest
Posts: n/a
 
      1st Jun 2009
I have a rather large workbook I've converted from an Excel 2003 .xls format
to an excel 2007 xlsx format. I'm having problems deleting the custom
toolbar that was attached to the original workbook. Excel allows me to
delete the toolbar from the current session; however, the next time I open
this file the toolbar comes back. The file also causes the following error
when opening. "Excel cannot complete this task with the available resources.
Choose less data or close other applications." By watching the Add-Ins
ribbon I can see this error occurs right after the cuctom toolbar is created.
I believe deleting the unused commandbar will solve the error. During my
research I found the following statment in the excel help for
Workbook.Commandbars Property. "There is no programmatic way to return the
set of command bars attached to a workbook." If I can't delete this workbook
commandbar through the commandbars property how can it be deleted?

 
Reply With Quote
 
 
 
 
Robert Flanagan
Guest
Posts: n/a
 
      5th Jun 2009
Save the workbook in 2003 format (xls). Then open in Excel 2003. Select
View, Toolbars, Customize, Attach and delete the attached toolbar. Save the
file. Open back in 2007 and save in the desired format.

Robert Flanagan
http://www.add-ins.com
Productivity add-ins and downloadable books on VB macros for Excel

"ALF-E" <(E-Mail Removed)> wrote in message
news:A2EC6D9A-6DCD-4EF0-9137-(E-Mail Removed)...
>I have a rather large workbook I've converted from an Excel 2003 .xls
>format
> to an excel 2007 xlsx format. I'm having problems deleting the custom
> toolbar that was attached to the original workbook. Excel allows me to
> delete the toolbar from the current session; however, the next time I open
> this file the toolbar comes back. The file also causes the following
> error
> when opening. "Excel cannot complete this task with the available
> resources.
> Choose less data or close other applications." By watching the Add-Ins
> ribbon I can see this error occurs right after the cuctom toolbar is
> created.
> I believe deleting the unused commandbar will solve the error. During my
> research I found the following statment in the excel help for
> Workbook.Commandbars Property. "There is no programmatic way to return
> the
> set of command bars attached to a workbook." If I can't delete this
> workbook
> commandbar through the commandbars property how can it be deleted?
>



 
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
Screen position of commandbar button in Excel 2007 ? minimaster Microsoft Excel Programming 11 8th Dec 2009 10:36 PM
2003 Outlook fails to delete e-mail with attached Excel file. =?Utf-8?B?VG9vX1RhbGxfVGV4?= Microsoft Outlook Discussion 1 5th Oct 2007 06:51 PM
Copy Data from Excel 2007 XLSM workbook to Excel 2003 XLS workbook using ADO Andy Microsoft Excel Programming 2 27th Jul 2007 10:44 PM
Email Attached Excel Workbook in Outlook: Disables auto open VBmac =?Utf-8?B?U29hcEd1eU1pa2U=?= Microsoft Outlook Discussion 0 20th Oct 2005 04:18 PM
Saving CommandBar with Workbook pjd Microsoft Excel Worksheet Functions 0 12th Jul 2004 09:44 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:03 PM.