home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 February / PCWK0297.iso / lotus / english / lotus007.dsk / PROGRAMS / XLREADME.TXT < prev   
Text File  |  1994-06-06  |  13KB  |  161 lines

  1. TRANSLATING EXCEL FILES
  2. =======================
  3. In Lotus 1-2-3 Release 5 for Windows, you can open Excel .XLS, .XLT, and .XLW  files created in Microsoft Excel Versions 2.1, 2.2, 3.0, and 4.0. You can also save a 1-2-3 Release 5 for Windows .WK4 file in .XLS or .XLW format.
  4.  
  5. If part or all of the Excel file is protected with a password, you must remove the password protection in Excel and then save the file before opening it in 1-2-3. If a .WK4 file is password-protected, this protection is lost when you save the file to .XLS or .XLW format. If you use macros to open Excel files in 1-2-3, it's recommended that you use the {FILE-OPEN} macro command instead of a /File Retrieve keystroke macro.
  6.  
  7. THE EXCEL LOG FILE
  8. =======================
  9. When you open Excel files in 1-2-3 or save a 1-2-3 file as an Excel file, 1-2-3 preserves as much of the original data as possible. If the file contains untranslatable information, functions or formulas that require editing, or links to other Excel files, 1-2-3 records their location and current value in a log file.
  10.  
  11. For example, if you open DATA.XLS in 1-2-3 and the file contains a function that has no equivalent in 1-2-3, 1-2-3 creates a log file called DATA.LOG in the same directory as DATA.XLS. If the directory already contains a file called DATA.LOG, the new file replaces the previous one. The log file indicates which functions and formulas did not translate and need editing in order to work.
  12.  
  13. When 1-2-3 creates a log file, you see a dialog box. Choose OK to see the translated file, or choose Explain to see the log file. 1-2-3 uses Notepad or Write to open the log file; you can also view the log file at any time using a word-processing program such as Lotus Ami Pro.
  14.  
  15.  
  16. WHAT 1-2-3 DOESN'T TRANSLATE
  17. ============================
  18. You can't open these Excel file types in 1-2-3:
  19.  
  20. Add-in macro files    .XLA
  21. Chart files         .XLC
  22. Macro files        .XLM
  23. Special DLL files    .XLL
  24.  
  25. When you open an Excel file, 1-2-3 doesn't translate
  26.  
  27. * Charts and graphic objects
  28. * What-if scenarios created with Scenario Manager
  29. * Solutions created with Solver and Goal Seek, unless the Goal or Solution is kept
  30. * OLE links
  31. * Outlines
  32. * Custom functions, formats, menus, dialog boxes, buttons, and icons
  33. * Macro functions
  34. * Custom functions created with Excel add-ins
  35. * Hidden cells and rows
  36. * Display settings except those for gridlines and gridline color
  37. * Workspace settings
  38. * Window protection and splits 
  39. * Worksheet views
  40. * Frozen worksheet titles
  41. * Page Setup settings including centering, black and white cells, page order, and scaling
  42. * Named references, except absolute range names referring to contiguous areas above row 8193 or below 8192
  43.  
  44.  
  45. WHAT'S DIFFERENT
  46. ================
  47. When you open an Excel file, 1-2-3 translates these types of information as follows:
  48.  
  49. CELL NOTES
  50. ----------
  51. 1-2-3 converts Excel cell notes to range name notes created with 1-2-3 Classic. To display a table of cell notes in the translated file, follow these steps:
  52.  
  53. 1. Select the cell where you want the table to start.
  54. 2. Press / to display 1-2-3 Classic.
  55. 3. Choose Range Name Note Table and press ENTER.
  56. 4. Choose Quit to close 1-2-3 Classic.
  57.  
  58. 1-2-3 lists the cell notes in the file including their name, location, and contents. If you assigned a range name to a cell containing a note in Excel, 1-2-3 uses the range name. Otherwise, 1-2-3 names each note CELLNOTE1, CELLNOTE2, and so on. If the note contains more than 512 characters, 1-2-3 cuts off the remaining characters.
  59.  
  60. CHARACTER SETS
  61. --------------
  62. 1-2-3 converts ANSI characters to their Lotus Multibyte Character Set (LMBCS) equivalent. 1-2-3 retains only ANSI characters created with the CHAR function and a value argument.
  63.  
  64. DATA TABLES
  65. -----------
  66. If you open an Excel file containing data tables, 1-2-3 puts @<<XL>>TABLE(ARGUMENTS); VALUE in each cell of each table. VALUE is the last calculated value saved in Excel before translation. To recreate the data tables in 1-2-3, choose Range Analyze What-if Table.
  67.  
  68. DATE CALCULATION
  69. ----------------
  70. Excel lets you set the starting date from which all dates are calculated to either January 1, 1900 or January 2, 1904, while 1-2-3 uses only January 1, 1900. If you open an Excel file that uses 1904, 1-2-3 records it in the log file and assumes the dates start from January 1, 1900.
  71.  
  72. DDE AND FILE LINKS
  73. ------------------
  74. If an Excel file contains DDE links, 1-2-3 converts the array formula that created the link to @DDELINK("Application","Filename","Range"). 1-2-3 puts the @function in the top left corner of each range that contains a DDE link. If the links provide data to the file from another Windows application, the translated file won't reflect changes to the original data unless the other application is installed on the same computer where you're running 1-2-3.
  75.  
  76. If an Excel file that you open in 1-2-3 contains links to other Excel files, the log file informs you that file links exist and lists the linked files with drive, path, file name, and a .WK4 extension. You must open each of the linked files in 1-2-3 and save them in their original locations as .WK4 or .WK3 files. Then you can edit the links to reference these files and use the Edit Links command in 1-2-3 to update all the file links.
  77.  
  78. If a 1-2-3 file that you save in Excel format contains links to other 1-2-3 files, the log file informs you that file links exist and lists the linked files with drive, path, file name and a .XLS extension. You must open each of the linked files in 1-2-3 and save them in their original locations as .XLS files. Then you can edit the links to reference these files and use the File Links command in Excel to update all the file links.
  79.  
  80. If a .WK4 file that you're saving as an Excel file contains links to .WK3 files, use the File Links command in Excel to refresh the link to the correct drive and path.
  81.  
  82.  
  83. FORMATTING
  84. ----------
  85. 1-2-3 displays values larger than 9.99E+99 or smaller than 1E-99 as a row of asterisks (*). You can still calculate with these values, but if the results are larger than 9.99E+99 or smaller than 1E-99, 1-2-3 displays the results as a row of asterisks.
  86.  
  87. 1-2-3 translates standard number formats to the closest available equivalent. If a file contains custom number formats, 1-2-3 converts them to the closest equivalent number format but doesn't preserve other custom formatting such as individual characters or text.
  88.  
  89. If you assigned a custom color to negative values, 1-2-3 displays them in red. All other colors assigned with custom number formats are lost. 1-2-3 converts cell borders, patterns, and colors to the closest available equivalent.
  90.  
  91. If the fonts used in the Excel file aren't available, 1-2-3 substitutes the closest available equivalents, and the status bar displays the name of the original font used to style the selected cell.
  92.  
  93. If the Excel file you open in 1-2-3 contains defined cell styles, 1-2-3 keeps the 16 styles used most frequently in the file and the first 35 characters of each style name. To see the defined styles available, choose Style Named Style or click the style selector on the status bar.
  94.  
  95. 1-2-3 supports row heights of 1 to 255. 1-2-3 converts a height of 0 to 14, and heights of 256 through 409 to 255.
  96.  
  97. 1-2-3 supports column widths of 0 to 240 and converts column widths of 241 through 255 to 240.
  98.  
  99. FORMULAS
  100. --------
  101. Because 1-2-3 calculates with precision to 18 digits, while Excel calculates with precision to 15 digits, some formulas may produce different results in the two programs.
  102.  
  103. 1-2-3 and Excel use almost identical arithmetic and logical operators, except for the intersection operator in Excel, which 1-2-3 translates as @<<XL>>ISECT(RANGE1,RANGE2). 1-2-3 and Excel calculate using a slightly different order of precedence.
  104.  
  105. Results are identical except when you use exponentiation and negation in the same formula. Excel carries out exponentiation after negation, while 1-2-3 carries it out before negation. The difference is noticeable in an equation such as -2^2, which evaluates to 4 in Excel ((-2)^2) and to -4 in 1-2-3 (-(2^2)). If an .XLS file contains such formulas, 1-2-3 puts parentheses around the values to produce the same result as Excel.
  106.  
  107. Formulas that concatenate text may produce different results in the two programs because Excel concatenates text before comparisons, while 1-2-3 concatenates it after comparisons.
  108.  
  109. 1-2-3 translates the error value #N/A to NA. 1-2-3 translates #VALUE!, #REF!, #NAME?, #NUM!, #DIV/0!, and #NULL! to ERR.
  110.  
  111. COLOR SETTINGS
  112. --------------
  113. When you open an Excel file in 1-2-3, the colors are translated as closely as possible to the 256 available colors in 1-2-3.
  114.  
  115. When you save a 1-2-3 file in Excel format, the colors are translated as closely as possible to the 16 standard default colors in Excel. For example, pale yellow in the 1-2-3 file will appear as white in the Excel file.
  116.  
  117. PRINT SETTINGS
  118. --------------
  119. 1-2-3 translates Excel print areas that are defined as single, contiguous ranges, and retains header and footer settings that it supports, such as date and file name. 1-2-3 converts Excel header and footer formatting codes to 1-2-3 codes as listed below:
  120.  
  121. Excel code    1-2-3 code
  122. ----------    ----------
  123. &&        &
  124. &B        b and end-of-format sequence
  125. &C        |Text|
  126. &D        @
  127. &F        ^
  128. &I        i and end-of-format sequence
  129. &L        Text|
  130. &N        no equivalent available
  131. &P        #
  132. &R        |Text
  133. &T        +
  134.  
  135. The Excel page numbering feature "Page n of n" (for example, Page 2 of 5) does not get translated when you open an Excel file in 1-2-3.
  136.  
  137. ROWS AND COLUMNS
  138. ----------------
  139. Both 1-2-3 and Excel display 256 columns. However, a 1-2-3 worksheet contains 8,192 rows, while an Excel worksheet has 16,384 rows.
  140.  
  141. When you open an Excel file that contains data in rows 8,193 to 16,384, 1-2-3 inserts a second worksheet and puts the data in it. If you save this 1-2-3 file as an Excel file again, you must save it in .XLW format, and the data, formerly in one sheet in Excel, will now appear in two consecutive sheets. 
  142.  
  143. Formula references to data ranges that span multiple worksheets after 1-2-3 has split the data evaluate to ERR. To avoid problems, edit the file in Excel before you open it in 1-2-3. Move any ranges referenced by formulas so that the data is either completely above row 8,193 or below row 8,192.
  144.  
  145. For information on how 1-2-3 translates row height and column width, see "FORMATTING" above.
  146.  
  147. SHEET NAMES AND RANGE NAMES
  148. ---------------------------
  149. Sheet names in Excel bound workbook files can contain hyphens; 1-2-3 sheet names cannot contain hyphens. When you open an Excel bound workbook file in 1-2-3, sheet names containing hyphens are translated to the appropriate sheet letter according to the position of the sheet in the file.
  150.  
  151. Range names in 1-2-3 can contain spaces and hyphens; range names in Excel cannot contain these characters. When you open a 1-2-3 file that was saved as an Excel file, Excel prompts you to replace spaces and hyphens in range names with another accepted character, such as an underscore (_).
  152.  
  153. TRANSLATING THE =FIXED AND @STRING FUNCTIONS
  154. -------------------------------------------
  155. When you open an Excel file in 1-2-3, the =Fixed function translates to @String; when you save a 1-2-3 file as an Excel file, the @String function translates to =Fixed. Some unexpected results, not reported in the log file, can occur during translation of these functions.
  156.  
  157. 1-2-3 lets you to specify up to 116 decimal places for n in @String; Excel allows up to 127 decimal places. If the number of decimal places specified in the =Fixed function in Excel is greater than 116, this function appears as ERR when you open the Excel file in 1-2-3.
  158.  
  159. If n in the @String function is negative, the number returned by @String appears as Scientrific Notation in 1-2-3. When you save the 1-2-3 file as an Excel file, this number appears rounded to the left of the decimal point. In Excel, if the decimals argument to =Fixed is negative, the number returned appears rounded to the left of the decimal point. When you open an Excel file in 1-2-3, this number appears as scientific notation.
  160.  
  161. To format the number returned by =Fixed with commas, you set the no_commas argument to FALSE. When you open the Excel file in 1-2-3, the number appears without commas, even though no_commas was set to FALSE. The argument n+1000 in the @String function indicates comma format. This argument causes the =Fixed function to appear as #VALUE! when you open the file in Excel. The argument n+10000 in the @String function indicates General format. This argument also causes the =Fixed function to appear as #VALUE! when you open the file in Excel.