Home |
Search |
Today's Posts |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
yup. SET is for assigning OBJECTS. easy mistake to make too
"Charlotte E" <@ wrote in message ... One letter wrong!!!! I tried with: Property Set Thanks, Tim :-) Tim Williams wrote: Dim m_URL as string Property Let URL(val as String) m_URL = val End Property Property Get URL() as String URL = m_URL End Property Tim "Charlotte E" <@ wrote in message ... Yes. Eg: enter this in the "ThisWorkbook" module in the VBE: Property Get URL() As String URL = "http://www.google.com" End Property Is it possible to do the opposite? I.e.: ThisWorkbook.URL = http://www.google.com/ ...so it can be read later with: MsgBox ThisWorkbook.URL ??? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I add properties to add-in ? | Excel Programming | |||
using properties | Excel Discussion (Misc queries) | |||
Tab Properties | Excel Worksheet Functions | |||
Properties transferring from excel cells to word file properties | Excel Programming | |||
Properties of a jpg | Excel Programming |