Article View: comp.apps.spreadsheets
Article #24Re: Macintosh code resource for Excel
From: Joel Spolsky
Date: Tue, 03 Nov 1992 01:14
Date: Tue, 03 Nov 1992 01:14
24 lines
1596 bytes
1596 bytes
In article <...> aralston@hermes.ece.wisc.edu (Andy Ralston) writes: | Hi. I am a novice Mac programmer trying to write a code resource for | an Excel macro. I am using Think Pascal, and my routine is debugged | and works fine in the Think environment. I have followed the Think | instructions for creating a code resource, and it compiles | successfully. However, following the Excel instructions (such as they | are) for registering the resource, I get a #VALUE error returned. I | believe my problem lies in parameter passing or definition, or that | I'm not using the REGISTER function correctly. Does anyone have any | advice or a pointer to some *useful* documentation?> The Microsoft Excel Software Development Kit has a good tutorial on using the REGISTER function and writing code resources that are called from Excel. The SDK is a book available from Microsoft Press (just came out - at your computer bookseller now!). We don't have any specific instructions for Pascal (the SDK was designed for C programmers); although it is certainly possible to use Pascal some of the data types may be a little bit different. Good luck, Joel Spolsky joelsp@microsoft.com
Technical Details
Message-ID:
<1992Nov03.011402.9631@microsoft.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!microsoft!hexnut!joelspReferences:
<1992Oct30.155758.25315@doug.cae.wisc.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.apps.spreadsheets Path: arc1-ca.pugleaf.net!sparky!uunet!microsoft!hexnut!joelsp From: joelsp@microsoft.com (Joel Spolsky) Subject: Re: Macintosh code resource for Excel Message-ID: <1992Nov03.011402.9631@microsoft.com> Date: 03 Nov 92 01:14:02 GMT Organization: Microsoft Corporation References: <1992Oct30.155758.25315@doug.cae.wisc.edu> Keywords: Excel, code resource Lines: 27