on 2016 Aug 08 11:16 AM
Hi experts,
I face troubles while trying to use SAVEWORKSHEETDATA with Excel/VBA event Worksheet calculate -> excel crashed each time.
my codre below :
Private Sub Worksheet_Calculate()
Dim EPMExample As New FPMXLClient.EPMAddInAutomation
If Range("G22").Value = "SUBMITTED" Then
MsgBox ("senddata") '-> works correctly
EPMExample.SaveWorksheetData -> leads to excel crashed
'Call SEND_DATAWS '-> leads to excel crashed
End If
End Sub
Note: in G22 cell, there is an Excel Formula
Tks for your help,
Olivia
Request clarification before answering.
Don't put your saving code into Excel/VBA event Worksheet calculate!!!
It will always crash!
Please explain what do you want to achieve!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Olivia,
Are you trying to save only the G22 cell value in system? Is the template input enabled? What is the formula in G22? complex? Can you not use EPM function Save Data in case only one cell is involved?
Regards,
JP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 34 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.