Saturday, July 26, 2008

Hilang menubar dari excel 2003 ( mungkin boleh diaplikasikan dalam excel version lain )

1. Buka Excel 2003

2. Tekan ALT + F11 untuk akses ke visual basic editor

3. Bina MODULE dari menu INSERT -> MODULE

4. Masukkan arahan ini:-



Sub kawe()
On Error Resume Next

With Application

.DisplayFullScreen = False

.CommandBars("Worksheet Menu Bar").Enabled = True
.CommandBars("Standard").Enabled = True
.CommandBars("Formatting").Enabled = True
.CommandBars("Drawing").Enabled = True
.CommandBars("Borders").Enabled = True
.CommandBars("Chart").Enabled = True
.CommandBars("Control Toolbox").Enabled = True
.CommandBars("External Data").Enabled = True
.CommandBars("Forms").Enabled = True
.CommandBars("Formula Auditing").Enabled = True
.CommandBars("List").Enabled = True
.CommandBars("Picture").Enabled = True
.CommandBars("PivotTable").Enabled = True
.CommandBars("Protection").Enabled = True
.CommandBars("Reviewing").Enabled = True
.CommandBars("Task Pane").Enabled = True
.CommandBars("Text To Speech").Enabled = True
.CommandBars("Visual Basic").Enabled = True
.CommandBars("Watch Window").Enabled = True
.CommandBars("Web").Enabled = True
.CommandBars("Web Art").Enabled = True


End With

On Error GoTo 0

End Sub

5. Dwi-Klik pada Sheet 1 dan masukkan arahan ni

Private Sub Workbook_Activate()

Run "kawe"

End Sub

6. Tekan F5 untuk run micro

7. Ok sekarang menubar sudah keluar dalam View -> Toolbar. Sila buat pilihan pada toolbar tersebut contoh "Standard".
Save file tersebut ( boleh delete selepas ini ) kemudian buka semula excel untuk sahkannya




selamat mencuba!

1 comment:

Anonymous said...

what's namo rima is this?

 Simple Python Calculator This script will allows your to calculate the integers given with the chosen operation. You can add, substract, mu...