Skip to Content
Nov 23, 2020 at 10:25 AM

mm01/02/03 macro


Hello, im trying to workout the macro for mm01 (excel->sap) but unfortunetly im stuck at transfering data from cell.

To be honest, im pretty newbie with VBA:


session.SendCommand ("/nmm03")

session.findById("wnd[0]/usr/ctxtRMMG1-MATNR").Text = Worksheets("Arkusz1").Cells(1, 1).Value


What i would like to do is to copy the data from cell A1 to this line.

session.findById("wnd[0]/usr/ctxtRMMG1-MATNR").Text = A1

Is there anyone who could help me?