LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default can't delete columns

Superb! It worked...thanks.
--
Ed


"Jim Rech" wrote:

Ed-

Try running this macro. It will enable all "Delete..." menu items and tool
buttons.

Sub a()
Dim Ctrls As CommandBarControls
Dim Ctrl As CommandBarControl
Set Ctrls = CommandBars.FindControls(, 478)
If Not Ctrls Is Nothing Then
For Each Ctrl In Ctrls
Ctrl.Enabled = True
Next
End If
End Sub


--
Jim
"Ed White" wrote in message
...
| Indeed, if I rename the XLB file, the File-Delete... option becomes
available
| when I restart Excel. However, I have spent considerable time customizing
my
| icons, and I don't want to start over again, so how do I reactivate the
| File-Delete... command? I've checked all the macros in my Personal.XLS
file,
| and I don't see any of them disabling any commands.
| --
| Ed
|
|
| "Jim Rech" wrote:
|
| If you run a macro that disables any menu command that setting could
have
| been saved in your custom toolbar file. You might check this by
renaming
| your XLB file (with Excel closed) as that Excel does not reload it and
you
| get default menus and toolbars. It's typically found at:
|
| C:\Documents and Settings\<user name\Application Data\Microsoft\Excel
|
| --
| Jim
| "Ed White" wrote in message
| ...
| | All of the sudden, when I pull up any workbook in Excel (new or
previously
| | created), when I click Edit-Delete..., the Delete... is grayed out so
that
| I
| | cannot select it. Further, I have for icons across the top of Excel
for
| | deleting and inserting rows and columns. The icons to insert and
delete
| rows
| | work, and the icon to insert a column works, but the icon to delete a
| column
| | is grayed out (i.e. nothing happens when you click on it.) All of
this
| | worked before. What the heck could have changed this?
| | --
| | Ed
|
|
|



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
merge text from 2 columns into 1 then delete the old 2 columns sleepindogg Excel Worksheet Functions 4 March 30th 06 07:25 PM
Can't delete columns Buss Excel Discussion (Misc queries) 3 December 16th 05 07:28 PM
I can't delete columns - help! dcleesfo Excel Worksheet Functions 3 September 16th 05 02:00 AM
Delete columns Scottmk[_32_] Excel Programming 8 September 3rd 04 01:11 AM
Delete columns David Excel Programming 1 October 29th 03 01:25 PM


All times are GMT +1. The time now is 05:41 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"