home *** CD-ROM | disk | FTP | other *** search
/ On Hand / On_Hand_From_Softbank_1994_Release_2_Disc_2_1994.iso / 00043 / s / excelini.tx$ / excelini.txt
Text File  |  1992-09-29  |  16KB  |  298 lines

  1. (To view best on-screen in Windows Notepad, maximize the Notepad window 
  2. and turn on wordwrap if it is not already on -- from the Edit menu, 
  3. choose Word Wrap. For best printed results, open this document in 
  4. Windows Write, Microsoft Word, or another word processor, select the 
  5. entire document and format the text in 10-point Courier before 
  6. printing.)
  7.  
  8. ------------------------------------------------
  9. The Microsoft Excel Version 4.0a EXCEL4.INI File
  10. ------------------------------------------------
  11.  
  12. When you install Microsoft Excel version 4.0a, the Setup  program creates a file named EXCEL4.INI in the same directory as your WIN.INI file. Each time you start Microsoft Excel version 4.0a, it checks the EXCEL4.INI file for startup settings. For example, you can use the EXCEL4.INI file to specify documents that you want opened automatically, whether you want gridlines to appear in new worksheets, or what font you want as the default font.  
  13.  
  14. ---------------------------
  15. Editing the EXCEL4.INI File
  16. ---------------------------
  17.  
  18. Using almost any text editor or word processor, you can edit the EXCEL4.INI file to customize your startup settings if you want to; however, you don't have to edit this file to use Microsoft Excel. When you are finished editing the file, you must save it as a text file without any formatting. For changes to the EXCEL4.INI file to take effect, you must then restart Microsoft Excel.
  19.  
  20. Note:  If you install Microsoft Excel 4.0a on a network, Setup creates an 
  21. ----   EXCEL4.INI file on the drive and directory where you installed
  22.        Microsoft Excel, in addition to the EXCEL4.INI file it creates in
  23.        the directory containing your WIN.INI file. Do not edit this
  24.        additional EXCEL4.INI file; it is for network purposes only. To 
  25.        change your startup settings, edit only the EXCEL4.INI file that 
  26.        is in the same directory as your WIN.INI file.
  27.  
  28.  
  29. -------------------------------
  30. WIN.INI and the EXCEL4.INI File
  31. -------------------------------
  32.  
  33. In previous versions of Microsoft Excel, you could customize some startup settings by editing the [Microsoft Excel] section of the WIN.INI file, and customize other settings by editing the EXCEL.INI file. If you already have a [Microsoft Excel] section in your WIN.INI file, its contents -- except for OPEN= statements specifying documents you want opened automatically -- are used to create the EXCEL4.INI file during installation of Microsoft Excel 4.0a. Methods for specifying documents you want opened automatically are described later in this file. The contents of an existing EXCEL.INI file are not used to create the new EXCEL4.INI file. You must open and edit your EXCEL4.INI file to include any settings from your EXCEL.INI file. After installation, Microsoft Excel version 4.0 ignores the [Microsoft Excel] section of the WIN.INI file and the EXCEL.INI file. 
  34.  
  35.  
  36. --------------------------------------------------------------
  37. Keeping the .INI File for Previous Versions of Microsoft Excel
  38. --------------------------------------------------------------
  39.  
  40. The name of the .INI file for Microsoft Excel version 4.0a is different from the name of the .INI file for previous versions (EXCEL4.INI rather than EXCEL.INI). Therefore, you can specify startup settings for version 4.0a without changing your startup settings for earlier versions of Microsoft Excel. 
  41.  
  42.  
  43. -------------------------------------------------------
  44. Specifying Documents That You Want Opened Automatically 
  45. -------------------------------------------------------
  46.  
  47. Note:  You must use one of the following methods even if you specified  
  48. ----   the documents in the [Microsoft Excel] section of your WIN.INI
  49.        file for an earlier version of Microsoft Excel.
  50.  
  51. You can use either of the following methods to specify documents that you want opened each time you start Microsoft Excel. For each document that you want opened automatically:
  52.  
  53. ^  Place the document in the XLSTART directory. During installation, 
  54.    the XLSTART directory was automatically created in the directory 
  55.    in which Microsoft Excel was installed.
  56.  
  57. --or--
  58.  
  59. ^  Enter an OPEN= statement in the [Microsoft Excel] section of your 
  60.    EXCEL4.INI file. For example, enter OPEN=c:\win\excel4\budget92.xls
  61.    to open BUDGET92.XLS automatically. 
  62.  
  63. When entering an OPEN= statement, you can also enter any combination of the options described below to change the way the document is located or the state Microsoft Excel is in after it starts. Enter these options to the right of the equal sign in the OPEN= statement. For example,
  64.  
  65.    OPEN= /r c:\win\excel4\budget92.xls
  66.  
  67. opens the file BUDGET.XLS as read-only every time Microsoft Excel is started.
  68.  
  69. To enter more than one OPEN= statement, you must number them sequentially. For example, OPEN=, OPEN1=, OPEN2=, and so on. The OPEN statements must appear in ascending numerical order.
  70.  
  71.  
  72.    /f  Fast-load
  73.        Places template documents in the New dialog box on the File
  74.        menu. When used for a document containing custom functions,
  75.        places those functions in the Paste Function dialog box. When
  76.        you use one of the custom functions in a specified document, 
  77.        the macro sheet containing the function is opened. 
  78.  
  79.    /r  Read-only
  80.        Opens the specified document read-only.
  81.  
  82.  
  83. Specifying the Current Directory upon Startup
  84. ---------------------------------------------
  85. (New option for version 4.0a)
  86.  
  87. To set the current directory when you start Microsoft Excel, add the following statement:
  88.  
  89. OpenDir=<directory path>
  90.  
  91. For example:
  92.  
  93. OpenDir=c:\excel\myfiles
  94.  
  95. Even if you use the Open statement to open a specified file upon startup, use this statement to set the directory.
  96.  
  97.  
  98. ----------------------------------
  99. Specifying Sets  of Random Numbers
  100. ----------------------------------
  101.  
  102. If you want Microsoft Excel 4.0a to generate a unique set of random numbers each time you use the RAND function, enter RANDOMIZE=1 in the [Microsoft Excel] section of your EXCEL4.INI file.
  103.  
  104.  
  105. --------------------------------------------
  106. Setting the Default Font for Microsoft Excel
  107. --------------------------------------------
  108.  
  109. To set the default font and font size used for new worksheets, enter FONT=font name,font size in the [Microsoft Excel] section of your EXCEL4.INI file. For example, FONT=MS Sans Serif,10. The font name you enter must be the name of the font spelled exactly as it appears in the dialog box when you choose the Font command from the Format menu. In Microsoft Excel 4.0, the FONT statement sets the default font used for the Normal style, for row and column headings, and for text in the Info window.
  110.  
  111.  
  112. --------------------------------
  113. Setting Other EXCEL4.INI Options
  114. --------------------------------
  115.  
  116. You can set the following options with the Options3= line in the EXCEL4.INI file. For example, you can enter Options3=8 to automatically turn cell note indicators off each time you start Microsoft Excel.  
  117.  
  118.      2  Alternate navigation keys on
  119.      4  Lotus Help on
  120.      8  Cell note indicators off
  121.     32  Global macro sheet exists
  122.  16384  Gridlines in new sheets off
  123.  
  124. To specificy more than one of these options, add together the numbers for the options you want. For example, Options3=6 turns on both alternate navigation keys and Lotus Help.
  125.  
  126.  
  127. Specifying a User Name
  128. ----------------------
  129.  
  130. With the USER= line, you can enter a user name for your copy of Microsoft Excel. Then, if you are using a shared document and someone else on the network tries to open it, the alert message is displayed with the user name you specified.
  131.  
  132.  
  133. Specifying a Custom Dictionary
  134. ------------------------------
  135.  
  136. With the CUSTOM DICT= line, you can specify the name and location of custom dictionaries you want to use with Microsoft Excel. The following example points to the file "custom.dic" at the specified path location.
  137.  
  138. CUSTOM DICT 1=c:\windows\msapps\proof\custom.dic
  139.  
  140.  
  141. Specifying Automatic Formatting Options
  142. ---------------------------------------
  143.  
  144. With the AutoFormat= and AutoFormat Options= lines, you can specify a particular default formatting choice to be used when the AutoFormat tool is clicked. For the AutoFormat= line, type a number to specify the format you want. The formats are numbered 1 through 14 according to the order in which they appear in the list in the AutoFormat dialog box. 
  145.  
  146. The AutoFormat Options= line controls which formatting attributes are applied for the format you specified in the AutoFormat= line. The formatting attributes correspond to the options in the AutoFormat dialog box. The values for the formatting attributes are:
  147.  
  148.   Number        1
  149.   Font          2
  150.   Alignment     4
  151.   Border        8
  152.   Patterns      16
  153.   Width/Height  32
  154.  
  155. For example, enter AutoFormat Options=10 to specify  that just the font and border properties of a format are applied. The number 10 is the sum of 2 (font) and 8 (border). The default value for AutoFormat Options is 63, the sum of all of the numbers, indicating that all of the formatting properties are applied.
  156.  
  157.  
  158. Controlling Dialog Box Appearance
  159. ---------------------------------
  160. (New option for version 4.0a)
  161.  
  162. By default, Microsoft Excel diplays dialog boxes with a three-dimensional appearance by default. Dialog boxes may display more clearly in two dimensions on some monitors. If you prefer to view the dialog boxes with a two-dimensional appearance, add the following statement to the EXCEL4.INI file:
  163.  
  164. 3dDialogs=0
  165.  
  166.  
  167. Controlling Font Substitution
  168. -----------------------------
  169. (New option for version 4.0a)
  170.  
  171. By default, Microsoft Excel substitutes SmallFonts to display fonts smaller than 8 points. To prevent this substitution from occurring, add the following statement to the EXCEL4.INI file:
  172.  
  173. FontSub=0
  174.  
  175.  
  176. Set Up Tutorials to Run From a Network Directory
  177. ------------------------------------------------
  178. (New option for version 4.0a)
  179.  
  180. If you use Microsoft Excel in a network environment, you may decide for disk space reasons not to install the Microsoft Excel tutorials, Introducing Microsoft Excel and Learning Microsoft Excel. However, you can install the tutorials on a server and set up workstation users to access them from the Help menu by adding the following statement each workstation's EXCEL4.INI file:
  181.  
  182. CBTLOCATION=<path to directory containing tutorials>
  183.  
  184. For example:
  185.  
  186. CBTLOCATION=d:\excel\excelcbt
  187.  
  188. Note: CBTLOCATION must be entered exactly as specified; i.e. all upper case.
  189. ----
  190.  
  191. Whenever a user starts a tutorial from the Help menu, Microsoft Excel checks for this statement in EXCEL4.INI. If it exists, it looks in the specified directory for the tutorial files. If it doesn't exist, Microsoft Excel looks in \EXCEL\EXCELCBT on the user's workstation. Of course, access to the tutorials on the server requires that the workstation is connected to the server.
  192.  
  193.  
  194. -----------------------------------------
  195. Defining Custom Menus and Custom Commands
  196. -----------------------------------------
  197.  
  198. You can use the [Init Menus] and [Init Commands] sections to define custom menus and commands. These custom menus and commands appear every time you start Microsoft Excel, and enable you to load add-in macro sheets or standard macro sheets after you choose the custom command.
  199.  
  200.  
  201. [Init Menus]
  202. ------------
  203.  
  204. <Keyword>=<bar>,<new_menu>,<menu_pos>
  205.  
  206. <Keyword>  A unique keyword, such as Solver1, that Microsoft Windows uses to identify menus and commands added by an INI file.
  207.  
  208. <bar>  The number of the built-in menu bar to which you want to add the menu or command.
  209.  
  210. <new_menu>  The name of the new menu.
  211.  
  212. <menu_pos>  The position of the new menu on the menu bar. May be the name of the menu after which you want to place the menu, or a number indicating the menu's position from the left of the menu bar. For example, you would type 3 to place the menu third from the left. If omitted, the menu appears at the end of the menu bar. 
  213.  
  214.  
  215. [Init Commands]
  216. ---------------
  217.  
  218. <Keyword>=<bar>,<menu>,<command_name>,<macro_text>,<cmd_pos>,<key>, 
  219. <status>,<help>
  220.  
  221. <Keyword>  A unique keyword.
  222.  
  223. <bar>  The number of the built-in menu to which you want to add the menu or command.
  224.  
  225. <menu>  The name of the menu that contains the new command.
  226.  
  227. <command_name>  The name of the new command.
  228.  
  229. <macro_text>  The command added to a menu by the EXCEL4.INI file should open an add-in macro sheet. <Macro text> is a reference to a macro on the add-in macro sheet that you want to open. Choosing the command opens the macro sheet and runs the macro specified by macro_text. The macro should delete the command created by EXCEL4.INI and replace it with a command that runs a macro that performs actions associated with the command.
  230.  
  231. <cmd_pos>  Position of the command on the menu. May be the name of the command after which you want to place the new command, or a number indicating the command's position on the menu. If omitted, the command appears at the end of the menu.
  232.  
  233. The following example shows how Solver could add two commands to built-
  234. in menu bar number 1.
  235.  
  236. [Init Commands]
  237. Solver1=1,Formula,Solver...,c:\windows\solver.xlm!Auto_Open,,,Find model 
  238. solutions,Help!35
  239. Solver2=1,Edit,Edit Solver,c:\windows\solver.xlm!Edit,,,Edits a solver 
  240. scenario,Help!35 
  241.  
  242.  
  243. [Delete Commands]
  244. -----------------
  245.  
  246. In the [Delete Commands] section of your EXCEL4.INI file, you can delete 
  247. built-in Microsoft Excel commands. The syntax of the line to delete 
  248. commands is:
  249.  
  250. <Keyword>=<bar>,<menu>,<menu_pos>
  251.  
  252. The definitions of <keyword>, <bar>, <menu> and <menu_pos> are the same 
  253. as those given in the [Init Commands] section above. 
  254.  
  255. Note: Don't delete the Exit command on the File menu unless you've
  256. ----  included another way to exit Microsoft Excel.
  257.  
  258.  
  259. ---------------------------------------
  260. Specifying Lotus 123 Worksheet Settings
  261. ---------------------------------------
  262.  
  263. By changing elements in the EXCEL4.INI file, you can change how Microsoft Excel opens and saves Lotus 123 files. You set the defaults by specifying different values for the statements listed below in the [WK? Settings] section of EXCEL4.INI.
  264.  
  265. Load_Chart_Wnd
  266.  
  267. Specifies how 1 2 3 charts are created when an associated 1 2 3 chart is opened in Microsoft Excel. By default, Microsoft Excel automatically creates charts; therefore, Load_Chart_Wnd=1. To not create associated charts when you open a 1 2 3 worksheet in Microsoft Excel, change the Load_Chart_Wnd statement to Load_Chart_Wnd=0.
  268.  
  269.  
  270. AFE
  271.  
  272. Specifies how 123 range names are imported when a 123 worksheet is opened in Microsoft Excel. By default, Microsoft Excel turns on alternate formula entry only if a macro name exists on the 123 worksheet that you open in Microsoft Excel; therefore, AFE=2. To specify that alternate formula entry should always be turned on, change the AFE statement to AFE=1. To specify that alternate formula entry should never be automatically turned on, change the AFE statement to AFE=0.
  273.  
  274. Monospace
  275.  
  276. Specifies whether or not you use 10-point Courier, which is the default for 123 worksheets, or the normal font, as defined in the EXCEL4.INI file; therefore, Monospace=1 is 10-point Courier. If you want your 123 worksheets to appear in the normal font, which is usually MS Sans Serif 10, change the Monospace statement to Monospace=0.
  277.  
  278. Gridlines
  279.  
  280. Specifies whether or not gridlines are displayed when you open a 123 worksheet in Microsoft Excel. By default, Microsoft Excel does not display gridlines; therefore, Gridlines=0. If you do want gridlines displayed, change the Gridlines statement to Gridlines=1.
  281.  
  282. Note: The WYSIWYG_Save option has been removed from 
  283. ----  version 4.0a. It is no longer necessary because 
  284.       Microsoft Excel now supports the Allways file formats.
  285.       If your current EXCEL4.INI file contains this statement,
  286.       it is not necessary to delete it -- it simply no longer
  287.       has any effect.
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295. 0992
  296.  
  297.  
  298.