Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default thiscell and udf

Finally found my mystery problem; cannot use thiscell in a udf. To
discover the row in which the udf is called, must you pass in a row
number as a udf parameter? I wanted to use cell("row"), but it has
two specs. If I define the ref as the cell itself, that's not good,
right - "circular"? If I do not include the reference, cell() returns
the last changed cell... and I'm not sure what that is.

The only thing about entering a number is it doesn't adjust as the
cell functions are copied from cell to cell.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default thiscell and udf

On Dec 11, 7:11*am, cate wrote:
Finally found my mystery problem; cannot use thiscell in a udf. * To
discover the row in which the udf is called, must you pass in a row
number as a udf parameter? *I wanted to use cell("row"), but it has
two specs. *If I define the ref as the cell itself, that's not good,
right - "circular"? *If I do not include the reference, cell() returns
the last changed cell... and I'm not sure what that is.

The only thing about entering a number is it doesn't adjust as the
cell functions are copied from cell to cell.

Thanks.


never mind...
Application.Caller.Address
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Such a thing as CurrentCell..? ThisCell? embirath[_12_] Excel Programming 7 August 22nd 06 08:09 PM


All times are GMT +1. The time now is 05:24 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"