Excel: Second Argument in POKE Should Contain Backslash

ID: Q96559


The information in this article applies to:


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

Additional query words:


Keywords          : 
Version           : 4.00 4.00a 5.00
Platform          : WINDOWS 
Issue type        : 

Last Reviewed: March 30, 1999