home *** CD-ROM | disk | FTP | other *** search
/ Windoware / WINDOWARE_1_6.iso / macros / sam210 / sam210.doc < prev   
Text File  |  1991-04-28  |  7KB  |  162 lines

  1. "SaveAsMac" (C) Copyright 1991 by Stephen L. Jenkins.
  2.                   All right reserved.
  3.               Version : 2.10 - 4/28/1991
  4. ===================================================================
  5.   This Excel Spreadsheet macro replaces five of the standard
  6. file menu options having to do with opening and closing files.
  7.  
  8.   The five options are activated through the use of the
  9. keyboard, so they do not replace the default menus in any way.
  10.  
  11. NEW===NEW===NEW===NEW===NEW
  12.   SAM can now be configured to take over Excel's menus and hotkeys.
  13. See configuring SAM, below.  
  14. NEW===NEW===NEW===NEW===NEW
  15.  
  16.   All options are activated by holding down the [Ctrl] and [Alt]
  17. keys and then pressing the letter for the option you want. The
  18. letters are not case sensitive.
  19.  
  20.   The letter options are:
  21.   
  22.                 [N] - to open a new Work/Macro/Chart sheet
  23.                 [O] - to open a file
  24.                 [S] - saves the current file
  25.                 [A] - saves current file with new name or format
  26.                 [C] - closes the current file
  27.  
  28.  
  29. NEW SHEET - [Ctrl]+[Alt]+[N]
  30.   This brings up the default new sheet dialog box. Except that the
  31. highlight bar always starts on Worksheet.
  32.   
  33. OPEN FILE - [Ctrl]+[Alt]+[O]
  34.   This dialog is new from the ground up, so read this or just play
  35. to get used to it. The 'Last opened files' list is just that; it
  36. tracks files(up to 19) that you have opened with SAM(NOTE: the reason
  37. that Excel doesn't track the files opened by SAM is due to an
  38. acknowledged limitation in the OPEN macro command.) and makes it easier
  39. to select commonly opened files, rather than searching through directories.
  40. The 'type' list makes it easy to select what kinds of files you want
  41. the files list box to display. It also effects 'Text data . . .'
  42. items at the bottom of the dialog. Text data is only available if
  43. you select CSV or Text as the file type. The 'Read only' check box
  44. will open the file in read-only mode. The 'Auto_Open' check box
  45. selects whether Auto_Open macros are run when you open a macro sheet.
  46. The little copyright button will bring up a small 'about' box(can be
  47. invoked with Alt-C).
  48.  
  49. SAVE FILE - [Ctrl]+[Alt]+[S]
  50.   This option saves the current file and works the same as the
  51. File-Save menu option in Excel. The real advantage of this macro
  52. is that you can make very quick work of saving a file. If the current
  53. sheet is being saved for the first time, the SAVE AS dialog box will
  54. be displayed(nice to see this added to Excel 3.0).
  55.  
  56. SAVE AS - [Ctrl]+[Alt]+[A]
  57.   Well it was great to see that with Excel 3.0, MS finally gave us
  58. the ability to change directories with the SaveAs dialog, but what is
  59. still sorely missing is the ability to see the files in the target
  60. directory. I don't know about you but I'm always forgetting the last
  61. name in a sequence of names(i.e. bdgt01.xls, bdgt02.xls...) and seeing
  62. the names helps a lot. The file sharing options are only available with
  63. certain file formats. If the 'Close' check box is checked the document
  64. will be closed after it is saved. The 'Backup' check box controls whether
  65. a backup copy of the file is made. Again, the little copyright button will
  66. bring up a small 'about' box.
  67.  
  68. CLOSE - [Ctrl]+[Alt]+[C]
  69.   This option now does the same close as the File.Close menu option.
  70. (i.e. You will be prompted if there is unsaved work.)
  71.  
  72.  
  73. **** KEYBOARD USERS NOTE ****
  74.  
  75. Using the combo-boxes with the keyboard can be a little tricky, so a
  76. short tutorial is provided. Start Excel w/ SAM and bring up the OPEN
  77. dialog(press Ctrl+Alt+O). When the dialog is visible press Alt+E. The
  78. 'type' combo-box is activated. If you want to expand the list press
  79. Alt+down cursor key. Now PRESS AND HOLD the Ctrl key. Using
  80. the up/down cursor keys select the item you want. When it is in the
  81. selection bar press the spacebar, this will select that item. Play
  82. around, it gets easier.
  83.  
  84. ------------------------------------------------------------------
  85. INSTALLING 
  86.   SAM.XLM should be placed in the XLSTART directory, so that it will
  87. load automatically. When it is opened you will not see any difference
  88. in Excel. The only way to see if SAM.XLM is loaded is to check the
  89. "File_Unhide Window or Window-Unhide Window" menu options and it should
  90. be listed as a hidden window. You can't unhide this window, so don't even try.
  91.  
  92. CONFIGURATION
  93.   SAM can be configured to take over the Excel menus and hotkeys.
  94. To do this follow these instructions.
  95.  
  96.     1) Copy SAM.XLM in your XLSTART directory.
  97.     
  98.     2) Start Excel.
  99.     
  100.     3) Check to make sure SAM was loaded by pressing [Ctrl]+[Alt]+O.
  101.        If it was loaded you should see SAM's OPEN FILE dialog.
  102.        Press [Esc].
  103.        
  104.     4) Quit Excel. When you do this SAM will write a SAM.INI file to
  105.        your Excel directory. This file contains the control option and
  106.        the file list.
  107.        
  108.     5) Now open Notepad and load SAM.INI from your Excel directory. At the
  109.        top of the file you will see a section labeled [Controls]. The entry
  110.        under the heading will be "Control=SAM". With this setting SAM uses
  111.        its own hotkeys as the access method. If you change the line to
  112.        read "Control=Excel" then SAM will use Excel's menus and hotkeys
  113.        as the access method.
  114.        Once you have edited and saved SAM.INI with the "Control=Excel"; the
  115.        next time you start Excel you should notice that the ellipsis on certain
  116.        of the file menu options are wider spaced. This will let you know
  117.        that SAM has taken over these options.
  118.  
  119. UNLOADING
  120.   In this version there is no way to unload SAM.XLM other than closing
  121. Excel and removing SAM.XLM from the XLSTART directory.
  122.  
  123. QUITTING EXCEL
  124.   When quitting Excel SAM will create a SAM.INI file in your Excel directory.
  125. This is where the configuration option and file list are saved.
  126. ------------------------------------------------------------------
  127. LEGAL STUFF
  128.  
  129.   This macro is Freeware and as such may not be sold for any amount.
  130. So there! It may be freely distributed as long as this document(SAM.DOC)
  131. remains unaltered and is distributed with SAM.XLM.
  132. -------------------------------------------------------------------
  133. AUTHOR
  134.  
  135.   If you have any questions or comments about this macro I can be reached
  136. through Compuserve. ID# 76666,1066
  137. -------------------------------------------------------------------
  138. VERSION HISTORY
  139.  
  140. 1.20 - 3/16/89 - Initial release.
  141. 1.30 - 1/12/91 - Second release.
  142.                  Added Ctrl+Atl+N for new sheet.
  143.                  Fixed non-execution problem with Auto_Exec macros.
  144.                  Reworked macro to reduce size.
  145. 2.00 - 2/21/91 - Third release.
  146.                  Complete rewrite to fix all the things that broke
  147.                  under Excel 3.0, and to add support for all the new
  148.                  file formats.                 
  149. 2.10 - 4/28/91 - Fourth release.
  150.                  Added option to replace Excel's menus & hotkeys.
  151.                  Added SAM.INI to hold configuration info.
  152.                  Reworked exit routine to speed it up.
  153.                  Sorry it's a bit bigger. Next release will address this.
  154. -------------------------------------------------------------------
  155. Enjoy.
  156.  
  157. Stephen Jenkins
  158. T/S macroware
  159. 4/28/91
  160.  
  161.  
  162.