Putproperty Method, Getproperty MethodExample
Set objIExplorer = CreateObject("internetexplorer.application")
objIExplorer.visible = True
objIExplorer.putproperty "locationname", 120
gp=objIExplorer.getproperty ("locationname")
msgbox gp
See all Methods & Properties of InternetExplorer Object here.