because i use this code in many forms with many DGV I tried to create procedure like this but i don't know how to complete
the code : Form1.DataGridView1.CurrentRow.Cells(8).Value
and thank you for help
the code : Form1.DataGridView1.CurrentRow.Cells(8).Value
Code:
Public Sub DGV(ByVal x As Integer, ByVal y As Integer)
Form(x).DataGridView(y).CurrentRow.Cells(8).Value()
End Sub