Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Hiding Windows Start bar
Is there a way from VBA in Excel to minimize or hide the start bar in your
windows? We are trying to go to true full screen with an application and would like to have this hidden as well? Thanks. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Hiding Windows Start bar
Is there a way from VBA in Excel to minimize or hide the start bar in your
windows? We are trying to go to true full screen with an application and would like to have this hidden as well? The code following my signature will allow you to do that. Simple issue this command when you want to hide it... Taskbar False and this command to show it again... Taskbar True Rick Private Declare Function ShowWindow Lib "user32" _ (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long Private Declare Function FindWindow Lib "user32" _ Alias "FindWindowA" _ (ByVal lpClassName As String, _ ByVal lpWindowName As String) As Long Private Declare Function FindWindowEx Lib "user32" _ Alias "FindWindowExA" _ (ByVal hWnd1 As Long, _ ByVal hWnd2 As Long, _ ByVal lpsz1 As String, _ ByVal lpsz2 As String) As Long Sub TaskBar(blnValue As Boolean) Dim lngHandle As Long Dim lngStartButton As Long lngHandle = FindWindow("Shell_TrayWnd", "") If blnValue Then ShowWindow lngHandle, 5 Else ShowWindow lngHandle, 0 End If End Sub |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Hiding Windows Start bar
Thank you for your help.
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Making Windows XP Start 60% Faster | Excel Discussion (Misc queries) | |||
Start Windows in Safe Mode | Excel Discussion (Misc queries) | |||
OT :Start your own online business today !start making dollars | Excel Discussion (Misc queries) | |||
Start Windows Explorer from Excel | Excel Programming | |||
Hiding toolbars but keeping the Windows Menu Bar? | Excel Programming |