Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Pass a string to an address
In this snip I need to pass a range.address of a range to a string,
manipulate the strig and then pass it back to the range.address. the first two steps are fine but I get an error "assignment to constant not permited" when I try to pass the string back to the address. Dim srcRngU as Range Dim wrkAdd As String srcRng is assigned to a range with removed code... wrkAdd = srcRngU.Address wrkAdd = Application.Substitute(wrkAdd, ",", "," & shtNm & "!") wrkAdd = shtNm & "!" & wrkAdd srcRngU.Address = wrkAdd <-------"assignment to constant not permited" error here This must be something simple!!!!! but I give up help will be appreciated Robert |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Pass Cell Address to OFFSET | Excel Worksheet Functions | |||
How to pass address(es) as parameters | Excel Programming | |||
pass cell value as string to function | Excel Programming | |||
Pass string value to another form | Excel Programming | |||
Pass string as Parameter in OpenText method | Excel Programming |