home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / b / b430 / 2.ddi / BIFFREAD.ME next >
Encoding:
Text File  |  1990-06-15  |  15.3 KB  |  422 lines

  1. IMPORTING BIFF WORKSHEET FILES
  2.  
  3. In addition to importing DIF, SYLK, and LOTUS 1-2-3 versions 1A and 2.0,
  4. Wingz now imports BIFF (Binary Interchange File Format) worksheet files.
  5. Although other uses exist, the primary use of this new capability is to
  6. read PC Excel versions 2.0 and above or Macintosh Excel versions 2.0 and
  7. above worksheet files directly into Wingz. 
  8.  
  9. This feature translates worksheet files only; BIFF chart files
  10. and BIFF macro sheets are not imported.
  11.  
  12.  
  13. I. IMPORTING BIFF WORKSHEET FILES
  14.  
  15. Importing your BIFF worksheets into Wingz is as simple as opening a Wingz
  16. worksheet. Follow these steps to import your worksheet files:
  17.  
  18. 1) Launch Wingz.
  19. 2) Select the Open action from the File pull-down.
  20. 3) Select the directory where the BIFF worksheet file is located.
  21. 4) Click on the All Documents radio button in the pop-up window.
  22. 5) Double-click on the file to be imported; or, click on the desired
  23.    file and click the Open pushbutton.
  24. 6) Wingz automatically imports your BIFF worksheet.
  25.  
  26. As expected when importing foreign file formats, your BIFF files may
  27. vary slightly after being imported to Wingz. Before proceeding, review
  28. your worksheets carefully for elements which require further modification.
  29.  
  30. II. WORKSHEET DIFFERENCES
  31.  
  32. Because of the inherent differences between Excel and Wingz, some features,
  33. functions, and formulas need additional translation after importing.
  34. The remainder of this document describes the differences which may be
  35. encountered when importing BIFF worksheet files into Wingz. Review
  36. each of the following areas to ensure your Wingz worksheet produces
  37. the desired results:
  38.  
  39.     1) Protection
  40.     2) Formatting
  41.     3) Calculation
  42.     4) Worksheet elements
  43.  
  44. A. PROTECTED BIFF WORKSHEETS
  45.  
  46. Due to the security imposed by password protection, Wingz cannot import
  47. any BIFF worksheet for which the following is true:
  48.  
  49. 1) The worksheet itself is password-protected.
  50. 2) The worksheet contains password-protected cells.
  51. 3) The worksheet contains password-protected windows.
  52.  
  53. To import these files into Wingz, the password protection must be removed
  54. by the original application (Excel). 
  55.  
  56. Any BIFF worksheet which is window-protected without a password is
  57. imported as a non-window-protected worksheet.
  58.  
  59.  
  60. B. FORMAT VARIATIONS
  61.  
  62. Wingz and Excel handle standard print options, display options, and
  63. custom cell formats slightly differently. The following section defines
  64. these exceptions.
  65.  
  66.  
  67. PRINT OPTIONS
  68.  
  69. In Wingz, headers and footers are defined as cells within the worksheet.
  70. In Excel, headers and footers are defined as string ranges in the
  71. Page Setup option. Therefore, imported headers and footers are appended
  72. to the new Wingz worksheet below its lower left corner. These cells are
  73. automatically defined by Wingz as the report header range and report
  74. footer range, respectively. 
  75.  
  76. As some Excel formatting options are not available in Wingz, the Excel
  77. headers and footers are imported literally. That is, macros which
  78. define strings in Excel are imported as the macros themselves. 
  79.  
  80. For example, suppose an Excel worksheet contains the header "&F."
  81. The imported worksheet then contains "&F" as the report header range,
  82. appearing below the lower left corner of your worksheet. You can then
  83. replace the Excel macro with the desired string.
  84.  
  85. Similarly, suppose the Excel footer is defined as "&Lfooterstring&C&P&D."
  86. The imported worksheet contains "&Lfooterstring&C&P&R&D" as the report
  87. footer range. This cell appears directly below the header cell.
  88. Redefine the footer using the Wingz standards described in Chapter 7:
  89. Printing, in the Wingz User's Guide.
  90.  
  91.  
  92. The Excel print area is imported as the named range Print_Area.
  93. However, the report print range is not specifically defined. Define
  94. this area by performing the following:
  95.  
  96. 1) Select the area to be printed (named Print_Area) using the Name
  97.    action from the Go pull-down;
  98. 2) Select Report Print Range from the Report cascading pull-down of 
  99.    the Sheet pull-down.
  100.  
  101. Other print options are ignored. These include print gridlines, print
  102. row and column headings, margins, paper size, and paper orientation.
  103. All printer specific options are also ignored. 
  104.  
  105.  
  106. DISPLAY OPTIONS
  107.  
  108. Wingz ignores the Excel Split Windows and Frozen Titles features.
  109.  
  110.  
  111. CUSTOM COLOR FORMATTING
  112.  
  113. Wingz and Excel assign custom formatting colors differently. In Wingz,
  114. custom formats, positive numbers, zero values, and text entries are
  115. assigned a single color. Negative numbers may be assigned a different
  116. color, if desired. Excel allows a different color to be assigned to
  117. each type of numeric cell entry. 
  118.  
  119. For example, consider the Excel custom format:
  120.  
  121.     [RED]$#,##;[BLUE]($#,##);[CYAN]GENERAL;[GREEN]GENERAL.
  122.  
  123. Wingz translates the entire custom format but assigns the color red
  124. to all positive values, zero values, and text entries. Negative values
  125. appear in blue.
  126.  
  127. The Wingz custom format is as follows:
  128.  
  129.     $#,##\;($#,##\);GENERAL;GENERAL.
  130.  
  131.  
  132.  
  133.  
  134. FONT CONVERSION
  135.  
  136. If all the fonts in your Excel worksheet are installed on your PC,
  137. Wingz directly imports the Excel fonts. If an Excel font is not
  138. installed when translating the worksheet, Wingz assigns the default font. 
  139.  
  140. You can "map" the Excel font to an existing PC font by executing the
  141. HyperScript command:
  142.  
  143. MAP FONT string1 TO string2
  144.  
  145. String1 is the Excel font to be replaced by the PC font, string2.
  146.  
  147. When the cell(s) containing the mapped font is repainted, the new font
  148. is displayed.  
  149.  
  150.  
  151. C. CALCULATION DIFFERENCES
  152.  
  153. PRECISION
  154.  
  155. Wingz always calculates to the greatest possible precision. Therefore,
  156. the Excel Precision as Displayed option has no equivalence in Wingz.
  157. Wingz performs the calculation to the available precision and then
  158. displays the specified number of decimal places.
  159.  
  160.  
  161. ITERATION
  162.  
  163. Wingz does not import the Excel delta value when using iteration.
  164. After importing your worksheet, define the delta value and delta
  165. range for iteration. Refer to Chapter 13: Wingz Dictionary, in the
  166. Wingz Reference Manual for more information.
  167.  
  168.  
  169. EXPONENTIATION
  170.  
  171. Wingz performs exponentiation prior to negation in mathematical
  172. expressions. Excel calculates negation prior to exponentiation.
  173. For example, Wingz evaluates the expression -2^4 as -16; Excel
  174. evaluates this expression as 16.
  175.  
  176.  
  177. D. WORKSHEET ELEMENTS
  178.  
  179. Wingz treats some worksheet elements differently than does Excel.
  180. As a result, some variations occur when importing the following:
  181.  
  182.     1) Arrays
  183.     2) Cell notes
  184.     3) Names
  185.     4) Dates
  186.     5) Tables
  187.     6) Data Bases
  188.     7) Formulas
  189.  
  190.  
  191. ARRAYS 
  192.  
  193. Wingz does not use the array notation of Excel. Therefore, arrays
  194. and formulas referencing arrays can not be directly imported. 
  195.  
  196. Any formulas containing arrays yield an error message. For example,
  197. an Excel array formula such as {=A1:A3+B1:B3} translates as
  198. ERR{=A1..A3+B1..B3}. 
  199.  
  200. Similarly, any formulas containing array constants cannot be directly
  201. imported into Wingz. For example, the Excel formula =SUM({1,2,3}*4)
  202. imports as ERR=SUM({1,2,3}*4). This example could be corrected by
  203. distributing the array. For example, replace this error with the
  204. formula =SUM(1*4+2*4+3*4).
  205.  
  206.  
  207.  
  208. CELL NOTES
  209.  
  210. Cell notes are not imported into Wingz.
  211.  
  212. NAMES 
  213.  
  214. In most cases, if a name in a BIFF worksheet represents a range,
  215. Wingz imports the name with its range. However, because of Wingz's 
  216. potential worksheet size, a valid BIFF name may define a specific 
  217. cell in Wingz. For example, the cell ABC12 exists in Wingz but does 
  218. not exist in Excel. Therefore, Wingz imports ABC12 as a cell
  219. reference rather than as a name. 
  220.  
  221. Wingz does not import a name which represents a value or a formula.
  222. To prevent the loss of this information, Wingz appends these names
  223. as cells below the footer information. 
  224.  
  225. For example, suppose an Excel worksheet contains the following three names: 
  226.  
  227.     AREA which represents the range A1 through C4
  228.     PRINCIPAL which represents the value 1000
  229.     INTEREST which represents the value 10%
  230.  
  231. Wingz imports the name AREA with its associated range.
  232. PRINCIPAL and INTEREST are each imported as cells containing
  233. the names and values. These cells are appended below the page
  234. footer information. 
  235.  
  236. As Wingz does not recognize names of values and formulas, any imported
  237. formulas which refer to these names cannot be calculated. Rewrite
  238. these references as the values, cells, or formulas they represent.
  239.  
  240.  
  241. DATES 
  242.  
  243. Wingz successfully imports all BIFF worksheet dates with the following
  244. exceptions:
  245.  
  246.     1) Dates formatted using the 1900 date system which occur prior
  247.     to March 1, 1900 appear one day earlier in Wingz than in Excel.
  248.     This is due to Excel's recognition of February 29, 1900 as a
  249.     valid date;
  250.     2) When converting from the 1904 date system, date-formatted cells
  251.     which contain formulas are not adjusted. Check these cells for
  252.     accuracy. 
  253.  
  254. Wingz properly converts all other dates.
  255.  
  256. TABLES 
  257.  
  258. Most Excel tables import directly into Wingz. However, some exceptions
  259. exist. In these cases, the table values and formulas are properly imported
  260. but they do not retain the table properties. The following define the
  261. circumstances when a table is not imported directly:
  262.  
  263. 1) Wingz does not use row-input tables. Therefore, any Excel row-input
  264.    tables are translated as values and formulas.
  265.  
  266.  
  267. 2) Wingz maintains only one table per worksheet. If your Excel worksheet
  268.    contains more than one table, the last table retains the table
  269.    properties. All other tables are converted as values and formulas.
  270.  
  271. DATABASES
  272.  
  273. Wingz translates the Excel data range and criteria range as the named
  274. ranges, Database and Criteria, respectively. To use these ranges with
  275. database functions, define them as database elements in Wingz.
  276.  
  277. To define the database range perform the following:
  278.  
  279.     1) Choose the Go pull-down.
  280.     2) Select the Name action and drag to the Database name.
  281.     3) Choose Database from the Sheet pull-down.
  282.     4) Select the Data Range action.
  283.  
  284. To define the criteria range perform the following:
  285.  
  286.     1) Choose the Go menu;
  287.     2) Select the Name option and drag to the Criteria name;
  288.     3) Choose Database from the Sheet menu;
  289.     4) Select the Criteria Range option.
  290.  
  291. All Wingz database restrictions apply to imported worksheets.
  292. Therefore, CRITERIA MUST BE REDEFINED to meet Wingz standards.
  293. Refer to Chapter 6: Managing Worksheets, in the Wingz User's Guide
  294. for more information.
  295.  
  296.  
  297. FORMULAS
  298.  
  299. Most BIFF worksheet formulas are imported directly into Wingz.
  300. However, some exceptions exist.
  301.  
  302. Recall that Wingz does not use arrays or names in the same fashion
  303. as Excel. Therefore, any formulas containing arrays or names which
  304. refer to values or formulas can not be imported directly. Review the
  305. above sections on these elements.
  306.  
  307. Other Excel formulas do not translate into Wingz in the following
  308. circumstances:
  309.  
  310. 1) The Excel formula contains an error message. Clearly only valid
  311.    Excel formulas can be imported.
  312.  
  313. 2) Wingz does not contain an equivalent function. These functions
  314.    and function arguments are imported as text:
  315.  
  316.  
  317. - Database Functions: DCOUNT, DPRODUCT.
  318.  
  319. - Date Functions: WEEKDAY.
  320.  
  321. - Financial Functions: IPMT, MIRR, NPER, PPMT, RATE.
  322.    
  323. - Information Functions: AREAS, CELL, INDIRECT, ISLOGICAL, T, TYPE.
  324.  
  325. - Lookup Functions: INDEX, LOOKUP, MATCH.
  326.  
  327. - Matrix Functions: MDETERM, MINVERSE, MMULT, TRANSPOSE.
  328.  
  329. - Statistical Functions: COUNT, GROWTH, LINEST, LOGEST, TREND.
  330.  
  331. - Text Functions: CLEAN, SUBSTITUTE, TEXT, VALUE.
  332.  
  333. 3) Wingz does not recognize the same number of arguments or the same
  334.    type of arguments as does Excel. These yield error messages in Wingz:
  335.  
  336. - Any database function which has a second argument as a field name
  337.   instead of a number.
  338.  
  339. - DCOUNTA if the second argument is absent.
  340.  
  341. - Date functions which contain combination date/time arguments.
  342.  
  343. - FV, PMT, and PV if the number of arguments is greater than 3.
  344.  
  345. - IRR if the number of arguments is not equal to 2.
  346.  
  347. - DDB if the number of arguments is not equal to 4.
  348.  
  349. 4) THE EXCEL FORMULA ATTEMPTS TO EVALUATE A STRING EXPRESSION IN A
  350.    FUNCTION WHICH NORMALLY EXPECTS A NUMERIC EXPRESSION. In some
  351.    circumstances Wingz returns an error message. In other functions,
  352.    Wingz assigns the text a zero value. 
  353.  
  354. For example, Excel evaluates DAY("51166") as the number 1. This
  355. function obviously anticipates a date argument. However, Excel
  356. attempts to calculate the function anyway. In this example, Wingz
  357. requires a date argument, so it returns an error message.
  358.  
  359. In other cases the string argument is evaluated as zero. To prevent
  360. confusion, ensure your formulas use the anticipated arguments in
  361. Excel before translating to Wingz. This may help eliminate unexpected
  362. results.
  363.  
  364. 5) The Excel formula contains a range operator such as intersection
  365.    or union or a range operand. All formulas which contain range
  366.    operators yield an error message when imported.
  367.  
  368. For example, the Excel formula =SUM((B1:D1) (D1:D3)) is translated
  369. as ERR=SUM((B1..D1) (D1..D3)).
  370.  
  371. In some cases, the Excel formula translates directly into Wingz.
  372. However, because the spreadsheets interpret these functions
  373. differently, the imported formulas yield different results.
  374.  
  375. These functions are described below:
  376.  
  377. - INT(): In Excel, this function returns the greatest integer less
  378.   than or equal to the argument. In Wingz, this function returns
  379.   the integer portion of any numeric expression. In some cases
  380.   these values are different.
  381.                                                                                                   Excel                     Wingz
  382. =INT(-9.5) returns                                                                     -10                            -9
  383.  
  384. NOTE: The TRUNC() function in Excel produces the same results as the
  385.       INT() function in Wingz.
  386.  
  387.  
  388. - Wingz statistical functions count the list of items differently
  389.   than Excel statistical functions. In Excel, statistical functions
  390.   ignore cells containing text. Wingz includes text cells in the
  391.   count of items and assigns the text cell a value of 0.
  392.   (Wingz does not include blank cells in a count of items.)
  393.   In this example, the cells D1 through D5 contain the following
  394.   data respectively:
  395.  
  396.     3.4, 15, "Alabama", 19, 3.5.
  397.                                                                                                    Excel                    Wingz
  398. =VAR(D1..D5)                                                                     170.706667          55.049600
  399.  
  400. This difference is consistent for all statistical functions.
  401. Review Chapter 11: Formulas and Functions, in the Wingz Reference
  402. Manual for more information. All Database Functions and Statistical
  403. Functions which count a list of items are affected by this different
  404. method of counting cells.
  405.  
  406. - Boolean logic functions such as TRUE() and FALSE() yield the same
  407.   results in Wingz as in Excel. However, these results are returned
  408.   as numbers in Wingz and text in Excel. The Boolean logic functions
  409.   TRUE() and FALSE() translate as follows:
  410.  
  411.  
  412.  
  413.     Function            Excel        Wingz
  414.                                                                                              Excel                  Wingz
  415.     =TRUE()            TRUE            1                                                                                     TRUE                       1
  416.     =FALSE()            FALSE        0                                                                                   FALSE                     0
  417.  
  418. This format holds true for all other logic functions (IF(), ISBLANK(),
  419. ISERR(), ISNA(), ISNUMBER(), ISRANGE(), ISSTRING()).
  420.  
  421.  
  422.