SAVE.LABELS.AS Example Creates Labels with No Spaces in Q+E

Last reviewed: November 2, 1994
Article ID: Q74458

SUMMARY

The example on page 109 of the "Q+E for Microsoft Excel's User's Guide" for version 3.0 shows the SAVE.LABELS.AS function with the field names concatenated. When using this example, the output label will concatenate the fields without a space between the first and last names and between the state and zip code fields.

MORE INFORMATION

The example on page 108-109 shows:

   SAVE.LABELS.AS('ADDR.LAB','FIRST_NAME+LAST_NAME;CITY+'',''
   +STATE+ZIP',5,1,0,0,0)

The first name and the last name fields, as well as the state and zip code fields are joined so that the output label concatenates these fields without a space between them.

A correct example should read:

   SAVE.LABELS.AS('ADDR.LAB','FIRST_NAME+'' ''+LAST_NAME;CITY+'',''
   +STATE+'' ''+ZIP',5,1,0,0,0)

The quotation marks between the fields are single quotation marks (two set on each side of the space) and will add a space between the joined fields.

REFERENCES

"Q+E for Microsoft Excel's User's Guide." Version 3.0, pages 108-109.


KBCategory: kbother
KBSubcategory:

Additional reference words: noupd


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: November 2, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.