RobotStudio event

Excel VBA example robot code

Hello,

I have an Excel spreadsheet that I would like to use VBA (and PC SDK) to read/write robot data from.  I?_Tm having trouble getting started trying and declaring the namespace for ABB.Robotics. etc.  Does anyone have an example VBA code that can read a robot data (T_ROB1.user.reg1  -- for example) and write it to a specific cell?

Thanks in advance,

Toby