Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Minimal Excel UI


I am trying to the UI from excel to be as minimal a part of the sheet
am working as possible. I would like to get the scrollbars t
dissapear, the tabs to dissapear, and the column/row headings t
dissapear as well. Any other ideas would be great. If any one ha
any information on this or could point me in the right direction
would appreciate it.

Thank you,
Jason Sel

--
JasonSel
-----------------------------------------------------------------------
JasonSelf's Profile: http://www.excelforum.com/member.php...nfo&userid=533
View this thread: http://www.excelforum.com/showthread.php?threadid=26521

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 983
Default Minimal Excel UI

Lots of stuff you can do. I am working on something that barely resembles
Excel. Here are a few things.

'Lock the scroll area
sheets("Sheet1").ScrollArea = "A1:B2"
If Application.DisplayFormulaBar Then Application.DisplayFormulaBar = False
Application.DisplayAlerts = False
Application.MoveAfterReturn = False
Application.Cursor = xlNorthwestArrow
Application.ActiveWindow.DisplayHeadings = False
Application.ActiveWindow.DisplayWorkbookTabs = False
Application.Caption = APP_NAME
If Application.Calculation = xlManual Then Application.Calculation =
xlAutomatic
Call SetKeyboardState 'disable jumps to different sheets
Call RemoveExcelToolbars


Private Sub SetKeyboardState()
On Error GoTo ErrorHandler
If Not g_cDebug Then
Application.OnKey "{ESC}", ""
Application.OnKey "^{BREAK}", ""
Application.OnKey "^{PGDN}", "" 'Disable Ctrl-PageUp
Application.OnKey "^{PGUP}", "" 'Disable Ctrl-PageDown

Application.OnKey "^{s}", ""
Application.OnKey "^{c}", ""
Application.OnKey "^{g}", ""
Application.OnKey "^{n}", ""
Application.OnKey "^{f}", ""
Application.OnKey "^{x}", ""
End If
End Sub

Public Sub RemoveExcelToolbars()
Dim cbar As CommandBar

On Error GoTo RemoveExcelToolbars_Err

DeleteSetting thisworkbook.Name, "Toolbar"

For Each cbar In CommandBars
If cbar.Visible And cbar.Name < "Worksheet Menu Bar" Then
If cbar.Name = MAINTOOLBARNAME Then
cbar.Delete
Else
cbar.Visible = False
SaveSetting ThisWorkbook.Name, "Toolbar", CStr(cbar.Index),
"True"
End If
End If
Next

Set cbar = Nothing

Exit Sub

RemoveExcelToolbars_Err:
If Err = 5 Then
Resume Next
Else
MsgBox Err.Number & " - " & Err.Description
End If
Application.ScreenUpdating = True

Set cbar = Nothing
End Sub

There are a few subs missing along with some Global constants so this won't
compile but it give you a few ideas...

"JasonSelf" wrote:


I am trying to the UI from excel to be as minimal a part of the sheet I
am working as possible. I would like to get the scrollbars to
dissapear, the tabs to dissapear, and the column/row headings to
dissapear as well. Any other ideas would be great. If any one has
any information on this or could point me in the right direction I
would appreciate it.

Thank you,
Jason Self


--
JasonSelf
------------------------------------------------------------------------
JasonSelf's Profile: http://www.excelforum.com/member.php...fo&userid=5330
View this thread: http://www.excelforum.com/showthread...hreadid=265216


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 47
Default Minimal Excel UI

Try tools/options

and the View tab, uncheck the Scroll bars, row and column headings etc.
here

Steve
"JasonSelf" wrote in message
...

I am trying to the UI from excel to be as minimal a part of the sheet I
am working as possible. I would like to get the scrollbars to
dissapear, the tabs to dissapear, and the column/row headings to
dissapear as well. Any other ideas would be great. If any one has
any information on this or could point me in the right direction I
would appreciate it.

Thank you,
Jason Self


--
JasonSelf
------------------------------------------------------------------------
JasonSelf's Profile:
http://www.excelforum.com/member.php...fo&userid=5330
View this thread: http://www.excelforum.com/showthread...hreadid=265216



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
hiding minimal data columns Jase Excel Discussion (Misc queries) 0 October 14th 08 03:23 PM
Minimal I need in a server for creating xls files with c++ automation Talavera Excel Programming 0 March 4th 04 09:41 AM


All times are GMT +1. The time now is 06:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"