Home > database >  VB to EXCEL the output value
VB to EXCEL the output value

Time:09-24

Hi, hello,
Plans to make EXCEL add-ins DLL, when debugging problems as follows,
From the VB to EXCEL the output value, debugging OK in the designer, but to call in the module can not output the same program, please help see
- in VB6.0 by use of designer
Public Sub buttion1 (ByVal control As IRibbonControl)
OWD. ActiveSheet. Cells (1, 1)="MMMMMMM
"OWD. ActiveSheet. Range (" b1 ")=15
Call cs
End Sub
- module in vb6.0 by use of the
Cs (Sub)
On the Error Resume Next
OWD. ActiveSheet. Cells (1, 2)="MMMMMMM
"OWD. ActiveSheet. Range (" b2 ")=15
End Sub
Before two output is normal, after two output not, what reason, defines owd as excel. The application


Attachment: how can't insert in attachment???
  • Related