ซ่อมคอมพิวเตอร์นอกสถานที่ รามตำแหง บางกะปิ 083-792-5426

วันพฤหัสบดีที่ 19 กรกฎาคม พ.ศ. 2555

เมนูแบบเก่าใน Excel 2007


นี่คือวิธีที่รวดเร็วในการแสดงเมนูแบบเก่าใน Excel 2007 หรือในภายหลังสถานที่ ดำเนินการขั้นตอนนี้ VBA, และคุณจะได้รับแถบเครื่องมือที่มีเก่า Excel 2003 คำสั่งเมนู
 Sub MakeOldMenus()
    Dim cb As CommandBar
Dim cbc As CommandBarControl
Dim OldMenu As CommandBar

' Delete it, if it exists
On Error Resume Next
Application.CommandBars("Old Menus").Delete
On Error GoTo 0

' Create an old-style toolbar
' Set the last argument to False for a more compact menu
Set OldMenu = Application.CommandBars.Add("Old Menus", , True)

' Copy the controls from Excel's "Built-in Menus" shortcut menu
With CommandBars("Built-in Menus")
.Controls("&File").Copy OldMenu
.Controls("&Edit").Copy OldMenu
.Controls("&View").Copy OldMenu
.Controls("&Insert").Copy OldMenu
.Controls("F&ormat").Copy OldMenu
.Controls("&Tools").Copy OldMenu
.Controls("&Data").Copy OldMenu
.Controls("&Window").Copy OldMenu
.Controls("&Help").Copy OldMenu
End With

' Make it visible. It appears in the Add-Ins tab
Application.CommandBars("Old Menus").Visible = True
End Sub
หลังจากที่คุณรันแมโครนี้เมนูใหม่จะปรากฏในแท็บ Add-Ins:
เมนูไม่สมบูรณ์ ไม่กี่คำสั่งไม่ทำงานและรายการของไฟล์ล่าสุดใน F ile เมนูเพียงแสดงตัวยึด

0 ความคิดเห็น:

แสดงความคิดเห็น

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design Downloaded from Free Blogger Templates Download | free website templates downloads | Vector Graphics | Web Design Resources Download.