Search found 3 matches
- Fri Aug 15, 2008 12:31 am
- Forum: XLSReadWriteII 3/4/5
- Topic: Formulas which use VBA functions don't get exported!
- Replies: 1
- Views: 2886
Clarification
Just to be clear, the problem is writing a new spreadsheet in XLSReadWriteII, creating a public VBA function in a VBA module and writing a formula which uses that function. I don't care about being able to call that function and get a result from within XLSReadWriteII, but rather I just want the for...
- Tue Aug 12, 2008 11:51 pm
- Forum: XLSReadWriteII 3/4/5
- Topic: Formulas which use VBA functions don't get exported!
- Replies: 1
- Views: 2886
Formulas which use VBA functions don't get exported!
To see what I mean, place a new XLSReadWriteII4 component on your form and add a button with the following code: procedure TForm1.Button1Click(Sender: TObject); const FILE_NAME: string = 'C:\Test.xls'; var vba: TVBAModuleSource; begin if FileExists(FILE_NAME) then DeleteFile(FILE_NAME); xls.Filename...
- Tue Mar 04, 2008 12:01 pm
- Forum: XLSReadWriteII 3/4/5
- Topic: How can you include VBA code to handle worksheet events??
- Replies: 0
- Views: 2271
How can you include VBA code to handle worksheet events??
I wish to output a spreadsheet (from scratch) that includes VBA code to do something when the user changes a cell in the spreadsheet. I've included a very basic example console app below but I cannot get it working. Please help. program VBATest; {$APPTYPE CONSOLE} uses SysUtils, XLSReadWriteII2, XLS...