Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
M R M R is offline
external usenet poster
 
Posts: 1
Default Placing an array on the active sheet

Hi all,

I need some help with my first steps into Excel programming (Excel
2000, on windows XP)

I have a vector defined as

Dim zret() As Variant

' which later is redefined

ReDim zret(n,1)

' n can get any value and is to be determined elsewhere
' after zret is filled with processed data I would like to place it
on the active sheet.
' i do not want to use activesheet.range(" "), since it will require a
predefined location and length.

I have tried
r=2
c=4
'ActiveSheet.Range(Cells(r ,c ), Cells(r + n - 1, c + 1)) = zret

' but I'm getting an error.

Also, is there a way to name a range dynamically, with a number of
columns and or rows determined in the subroutine?


Thank you,
MR,
NYC
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
Extracting the latest info from 1st sheet and placing into a 2nd s tech1NJ Excel Worksheet Functions 1 February 22nd 10 08:19 PM
Difficulty placing active email / hyperlinks with normal text in c RPD Excel Discussion (Misc queries) 2 March 21st 07 07:05 PM
placing a button directly in a sheet kemel Excel Discussion (Misc queries) 1 August 1st 06 03:25 PM
Need help with a tricky problem of placing a number within an array... [email protected] Excel Worksheet Functions 2 January 23rd 06 09:36 PM
help with placing Logo on excel sheet Soth Excel Discussion (Misc queries) 4 July 11th 05 10:11 PM


All times are GMT +1. The time now is 07:10 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"