View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
firsttimer firsttimer is offline
external usenet poster
 
Posts: 7
Default Insert range of cells with a function

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