Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,069
Default UDF and dynamic range

I have a function I built in which a couple of the inputs require a range...
I would like to have that range be dynamic so that sometimes it select 4
dates or sometimes only 3... So I tried to put this in for my function
(I16:OFFSET($I$16,H15-1,0))... but that doesn't work. If I have I16:I19 the
function works fine... can I put this offset in code in my function?

is that clear? any thoughts are appreciated. excel 2007
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default UDF and dynamic range

Please post the code of your function

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"John" wrote in message ...
|I have a function I built in which a couple of the inputs require a range...
| I would like to have that range be dynamic so that sometimes it select 4
| dates or sometimes only 3... So I tried to put this in for my function
| (I16:OFFSET($I$16,H15-1,0))... but that doesn't work. If I have I16:I19 the
| function works fine... can I put this offset in code in my function?
|
| is that clear? any thoughts are appreciated. excel 2007


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,069
Default UDF and dynamic range

I got it, sorry for the trouble
"Niek Otten" wrote:

Please post the code of your function

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"John" wrote in message ...
|I have a function I built in which a couple of the inputs require a range...
| I would like to have that range be dynamic so that sometimes it select 4
| dates or sometimes only 3... So I tried to put this in for my function
| (I16:OFFSET($I$16,H15-1,0))... but that doesn't work. If I have I16:I19 the
| function works fine... can I put this offset in code in my function?
|
| is that clear? any thoughts are appreciated. excel 2007



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
dynamic range based on criteria, within a dynamic range, passed to a function [email protected] Excel Programming 5 October 9th 07 10:13 PM
creating a dynamic range based on criteria, within a dynamic range, and passing it to a function [email protected] Excel Programming 0 October 9th 07 05:22 PM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
copying dynamic range based on cell outside of range xcelelder Excel Programming 3 September 29th 05 05:08 PM
select dynamic range with dynamic start point Juli Excel Programming 1 August 31st 05 12:05 AM


All times are GMT +1. The time now is 12:09 PM.

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

About Us

"It's about Microsoft Excel"