PDA

View Full Version : How to set an object type dynamically?



prabhafriend
11-29-2010, 04:30 AM
Sub (object_type as string)
Dim myobj as object
set myobj = object_type 'How to achieve this
End sub

For Example,
Set myobj = range
Set myobj = recordset

How to customize this?

Bob Phillips
11-29-2010, 04:33 AM
You already have a thread on this topic. Don't start a new thread.