Using a Q+E DEFINE.FIELD Function With an Excel File

Last reviewed: November 2, 1994
Article ID: Q74842

SUMMARY

When using the DEFINE.FIELD macro function on an Excel file, two arguments are required regardless of the data type being defined. Omitting the second argument will result in a #REF error when executing the macro.

MORE INFORMATION

The first argument to DEFINE.FIELD defines the data type. The second argument is the maximum number of characters that will be displayed in the column. Page 93 of the "Q+E for Microsoft Excel User's Guide" states that unless the data type is 1 (character), the second argument is ignored. DEFINE.FIELD does ignore the second argument in cases of data types other than character; however, the second argument must be included or the function will return #REF.

Microsoft is researching this problem and will post new information here as it becomes available.

REFERENCES

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


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.