Excel: Second Argument in POKE Should Contain Backslash

Last reviewed: September 12, 1996
Article ID: Q96559
The information in this article applies to:
  • Microsoft Excel for Windows, versions 4.0, 4.0a, 5.0

SUMMARY

The first example for the POKE() function in the version 5.0 "Online Help" and the version 4.0 "Microsoft Excel Function Reference" is incorrect. If you try to use the example given to poke data to item_text "StatOfDoc", you will receive a #REF! error value. The example should contain a backslash ("\") in the second argument.

MORE INFORMATION

Version 5.0

From the Help Menu choose Contents, then select Reference Information. Select Microsoft Excel Macro Functions Contents, then choose the Search button and type Poke. Select Show Topics then Go To and you will see the same error under Examples.

Version 4.0

On page 329 of the "Microsoft Excel Function Reference" the example:

   POKE(SendChanl,"StartOfDoc",C3)

formula should read:

   POKE(SendChanl,"\StartOfDoc",C3)

REFERENCES

"Online Help," version 5.0 "Function Reference", version 4.0, page 329


KBCategory: kbdocerr
KBSubcategory:

Additional reference words: 4.0 4.00 4.0a 4.00a 5.0 5.00



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 12, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.