I have a statistics box in which i am displaying total count of records. I need to map this value to a variable using macro to do further calculations. I used
Set SB = ActiveDocument.GetSheetObject("SB05")
When i am trying to use getfield to assign the value to a variable it is not accepting.