close
Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中 
EXCEL保護工作表後 群組跟大綱無法縮跟放
Dec 10th 2014, 04:07

如題
請問如何設定保護工作表之後,其中的群組跟大綱功能不受到限制,仍可以縮放??

在網路上找了好久的文章
是要用VB程式

VB打進去之後
當下確實可以保護工作表且群組跟大綱功能不受到限制

但是存檔成巨集檔案後
再打開又都被保護起來~顯示文件被保護~所以群組跟大綱又不能縮放了

有試過以下這兩個VB
這兩個VB分別當下修改完成之後都有我想要的效果
但檔案存檔完成後再打開又都被限制住了
1.
sub 限度保護()
ActiveSheet.EnableOutlining = True
ActiveSheet.Protect contents:=True, userInterfaceOnly:=True
end sub

2.
Private Sub Workbook_Open()

Sheets("sheet1").Select '工作薄打開時,先選擇sheet1

Sheets("sheet3").Select

End Sub

Private Sub Worksheet_Activate()

ActiveSheet.Protect Password:="1234", userInterFaceonly:=True '保護工作表

ActiveSheet.EnableAutoFilter = True '自動篩選有效

ActiveSheet.EnableOutlining = True '分組顯示有效

End Sub

Private Sub Worksheet_Deactivate()

ActiveSheet.Unprotect Password:="1234"

End Sub

請問有什麼解決方法~讓工作表受保護後~群組跟大綱永遠都可以縮放

請懂得人幫幫忙~謝謝

This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 kkosk8eq8o7k4 的頭像
    kkosk8eq8o7k4

    線上遊戲排行榜2013/2014,進擊的巨人線上看,candy crush saga外掛,正妹寫真三圍

    kkosk8eq8o7k4 發表在 痞客邦 留言(0) 人氣()