cancel
Showing results for 
Search instead for 
Did you mean: 

Assign a value to a cell

Former Member
0 Kudos

Hello,

I'm trying to assign a value to a cell in a matrix in VB, but I don't know how to do it. This the code:

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can write it like this :


Dim x As Double = 0
Dim matriz As SAPbouiCOM.Matrix
matriz = Aplicacion.Forms.ActiveForm.Items.Item("38").Specific
matriz.Columns.Item("Column Name").Cells.Item(row_number).Specific.Value=x

Answers (1)

Answers (1)

Former Member
0 Kudos

the cells object must be followed by .specific.value (in case it's a string cell). Use UI help files for more information.