Insert range of cells with a (UDF) function

F

firsttimer

Hi,

I have several ranges defined( range1=$1:$15, range2=$16:$20, range3=$20:$30)

Depending on a cell value I want to insert one of tese ranges.
e.g.
InsRange("range"&A1)

Is should be possible with a VBA function, but I dont have any VBA experience
 
N

NickHK

You cannot achieve this with a UDF, as they can only (with a few exceptions)
return a value to a cell.

What do you mean by "Depending on a cell value I want to insert one of tese
ranges" ?

NickHK
 
B

Bob Phillips

See response in worksheetfunctions.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top