Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have some code in a function that includes a line
set r = r.currentregion But it doesn't work - r remains r, even when there are contiguous cells to it. Any ideas why? Tim Lund |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
UDF's (User Defined Functions - VB functions called from a worksheet cell)
cannot perform "actions" (select a cell, do formatting, save a file, etc). Unfortunately .CurrentRegion is seen as an action by Excel. It seems that, internally at least, Excel is doing a selection. -- Jim Rech Excel MVP |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
currentregion | Excel Discussion (Misc queries) | |||
Formula equivalent of CurrentRegion | Excel Worksheet Functions | |||
CurrentRegion Failure. Please help! | Excel Programming | |||
CurrentRegion.copy maybe? | Excel Programming |