Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I am trying to set these as public constants so I don't have them retyped all over the place. I use the same form and reset the RowSource depending on what I'm doing. So, I wanted to set them in one place and use them as a variable. This is what I tried Public Const CAMExtLIRowSource As String = "Worksheets(Replace(Tablespg.Name, """", "" ''"")).Range" & _ "(""CAMLineItemsExterior"").Address(external:=True )" then I use it with .rowsource = CAMExtLIRowSource I get an error "Could not set rowsource. Invalid Property Value" Is it possible to do this? -- Thanks for your help. Karen53 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Const Array | Excel Programming | |||
Public Const to refer to a range name | Excel Programming | |||
public const availability? | Excel Programming | |||
Public Const on a Drive | Excel Programming | |||
crash changing const to public const | Excel Programming |