Insert range of cells with a 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
 
B

Bob Phillips

Rows("1:15").Name = "Range" & Range("A1")

--
HTH

Bob

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

Joerg

Please don't crosspost. See answers to your questions in the Programming
group.
Joerg
 

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