In VBA I am reading a field from an access database. This field contains a name of an object in my vba application. How can I use the value read from the access database to manipulate the properties of this object in my application?
Printable View
In VBA I am reading a field from an access database. This field contains a name of an object in my vba application. How can I use the value read from the access database to manipulate the properties of this object in my application?
Have you tried
[vba]
With ActiveSheet.OLEObjects(myObjectName)
'do stuff
End With
[/vba]
I tried this and it didn't work. I am not doing this in excel. It is being done in a product called OSISoft PI ProcessBook. The object is a line.