返回列表 上一主題 發帖

[發問] 禁止使用進階篩選問題

本帖最後由 GBKEE 於 2010-8-26 12:30 編輯

回復 1# asimov
將工作表的所有Cells  指令 格式-> 儲存格-> 保護  設定為鎖定 就可以
選取所有Cells  如圖



TOP

回復 1# asimov


    http://www.excelforum.com/excel-worksheet-functions/622120-disabling-the-advanced-filter-function.html

After i protect the sheet and disable the autofilter function
The Advanced Filter menu can be disabled just like any other menu item using VBA.
The following statement will disable that entry:
在被保護的工作表下禁用進階篩選
他是用VBA寫的...麻煩asimov先進..您到這網站去看囉...
http://translate.google.com.tw/translate?hl=zh-TW&sl=en&tl=zh-TW&u=http%3A%2F%2Fwww.excelforum.com%2Fexcel-worksheet-functions%2F622120-disabling-the-advanced-filter-function.html&anno=2

代碼: Code:
Application.CommandBars
Application.CommandBars("Data").
Controls("Filter").Controls("Advanced Filter...")
Enabled
學如逆水行舟 不進則退

TOP

        靜思自在 : 心中常存善解、包容、感思、知足、惜福。
返回列表 上一主題