Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
OK,
This must be something simple. That I just don't see. If I want to store the active workbook in a property. I am trying the following code. However I am getting an error on setting the activeworkbook. Anyone have any ideas? thanks Private m_objWorkspaceWorkbook As New Excel.Workbook Public Property Set WorkspaceWorkbook(ByVal vData As Excel.Workbook) Set m_objWorkspaceWorkbook = vData End Property Public Property Get WorkspaceWorkbook() As Excel.Workbook Set WorkspaceWorkbook = m_objWorkspaceWorkbook End Property Sub xxx() Dim objWB As Excel.Workbook Set objWB = Excel.ActiveWorkbook WorkspaceWorkbook objWB '?????????? End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to store a connection with parameters into a workbook | Excel Discussion (Misc queries) | |||
Store Active Workbook | Excel Discussion (Misc queries) | |||
store inventory sheet(ex:sports equipment store) | Excel Worksheet Functions | |||
Store Information but not in a Workbook | Excel Programming | |||
Store text file in workbook? | Excel Programming |