Microsoft KB Archive/91680

{|
 * width="100%"|

Keyboard Control in Calculator When Pasting Formulas

 * }

Q91680

-

The information in this article applies to:


 * Microsoft Windows versions 3.0, 3.0a, 3.1, 3.11
 * Microsoft Windows for Workgroups versions 3.1, 3.11

-

SUMMARY
Calculator can paste numbers and formulas from the Clipboard; however, the syntax of a formula is not necessarily the same syntax you would normally use. For example, pasting &quot;5*3=&quot; generates the correct result &quot;15,&quot; but pasting &quot;SIN(30)&quot; does not generate the correct result &quot;5.&quot;

MORE INFORMATION
This behavior occurs because of the way Calculator accepts data pasted from the Clipboard. Calculator uses single keystrokes to activate its functions or buttons and uses data from the Clipboard one character at a time, moving left to right.

When Calculator uses a character from the pasted data, the data is used as if you typed that character while in Calculator. In the &quot;SIN(30)&quot; example, using pasted data would be the same as clicking SINE, INVERSE, NATURAL LOG, and then finally typing &quot;30.&quot; The correct formula in this case would be &quot;30s&quot; (type 30 and then activate the SINE function.)

Below is a table listing all the buttons in Calculator with the keystrokes that activate them.

  Function                Key(s) --

&quot;.&quot;. &quot;0&quot;                    0 &quot;1&quot;                    1 &quot;2&quot;                    2 &quot;3&quot;                    3 &quot;4&quot;                    4 &quot;5&quot;                    5 &quot;6&quot;                    6 &quot;7&quot;                    7 &quot;8&quot;                    8 &quot;9&quot;                    9 &quot;(&quot;                    ( &quot;)&quot;                    ) &quot;*&quot;                    * &quot;+&quot;                    + &quot;+/-&quot;                  F9   &quot;-&quot;                     - &quot;/&quot;                    / &quot;=&quot;                    = &quot;1/x&quot;                  r   &quot;A&quot;                     a   &quot;And&quot;                   & &quot;Ave&quot;                  CTRL A   &quot;B&quot;                     b   &quot;Back&quot;                  BACKSPACE &quot;Bin&quot;                  F8   &quot;C&quot;                     c   &quot;C (Clear)&quot;             ESC &quot;CE&quot;                   DEL &quot;cos&quot;                  o   &quot;D&quot;                     d   &quot;Dat&quot;                   INS &quot;Dec&quot;                  F6   &quot;Deg&quot;                   F2   &quot;dms&quot;                   m   &quot;E&quot;                     e   &quot;Exp&quot;                   x   &quot;F&quot;                     f   &quot;F-E&quot;                   v   &quot;Grad&quot;                  F4   &quot;Hex&quot;                   F5   &quot;Hyp&quot;                   h   &quot;Int&quot;                   ; &quot;Inv&quot;                  i   &quot;ln&quot;                    n   &quot;log&quot;                   l   &quot;Lsh&quot;                   > &quot;M+&quot;                   CTRL P   &quot;MC&quot;                    CTRL L   &quot;Mod&quot;                   % &quot;MR&quot;                   CTRL R   &quot;MS&quot;                    CTRL M   &quot;n!&quot;                    ! &quot;Not&quot;                  ~ &quot;Oct&quot;                  F7   &quot;Or&quot;                    \ &quot;PI&quot;                   p   &quot;Rad&quot;                   F3   &quot;s&quot;                     CTRL D   &quot;sin&quot;                   s   &quot;Sta&quot;                   CTRL S   &quot;Sum&quot;                   CTRL T   &quot;tan&quot;                   t   &quot;x^2&quot;                   @ &quot;x^3&quot;                  # &quot;x^y&quot;                  y   &quot;Xor&quot;                   ^ Additional query words: calc 3.00 3.10

Keywords :

Issue type :

Technology : kbAudDeveloper kbWin3xSearch kbWFWSearch kbWin300 kbWin300a kbWin310 kbWin311 kbWFW310 kbWFW311