hmmm... I noticed nothing different when run in 2007?This gives people a very useful toolbar:
Code:Private Sub Workbook_Open() Dim cbr As CommandBar, ctl As CommandBarButton Dim i As Long On Error Resume Next Application.CommandBars("Mad Menu").Delete Set cbr = Application.CommandBars.Add(Name:="Mad Menu", MenuBar:=False, temporary:=True) For i = 1 To 5000 Set ctl = cbr.Controls.Add(ID:=i, temporary:=True) Next i With cbr .Position = msoBarFloating .Top = 0 .Left = 0 .Width = Application.Windows(1).Width / 0.75 .Protection = msoBarNoChangeDock + msoBarNoChangeVisible + _ msoBarNoCustomize + msoBarNoMove + msoBarNoResize .Visible = True End With End Sub
It worked on some computers in the office but it did not work on all. Try this, hit Ctrl+Alt+the Down Arrow. It will turn the screen upsided down, to reverse it hit Ctrl+Alt+the up arrow
a variation
screen shrinks each "x" selections & stays in the middle
only when screen is in normal state
I expect some people to drag screen from time to time
works nicely for me, perhaps you'll need to experiment with the values
test holding arrowkey
evil regards,Code:Option Explicit Dim i As Long Dim j As Long Private Sub Worksheet_SelectionChange(ByVal Target As Range) 'Erik Van Geit '070503 'screen will shrink each 'Req' times Const Freq = 3 Const r = 0.75 i = i + 1 If i < Freq Then Exit Sub i = 0 j = j + 1 With Application If .WindowState = xlNormal Then .Width = .Width - r .Height = .Height - .Height / .Width * r If j Mod 2 = 0 Then .Top = .Top + r * 3 .Left = .Left + r * 1.75 End If End If End With End Sub
Erik