Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Below is a snipit of a function I am having trouble with... I am
tyring to write a function that gets passed 1 or 2 ranges. I cant seem to get the optional test to work right. Also how do I asign one range to another. Basicly if only one range is passed to the fuction I want to set the optional range equal to the one required range, Any help would be appreciated it. Thanks. Function temp(rng As Range, rngoffset As Range, Optional rngoffset As Variant) If IsEmpty(rngoffset) Is True Then Debug.Print "rngoffset empty" Set rngoffset = rng End If End Function |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
asign a number to a text string | Excel Discussion (Misc queries) | |||
asign the next 10th as the due date. | Excel Worksheet Functions | |||
HOW TO ASIGN SAME NAME TO TWO DIFFERENT RANGES IN SEPARAT SHEETS | Excel Discussion (Misc queries) | |||
Asign Array Variant to Column | Excel Programming |