Both are different Things . Range is Only range Object can hold but array can be define of any type
A range is a set of contiguous cells within a spreadsheet, that is a number of cells within a column or a row, or an a group of n rows and m columns. A range is rectangular in shape. An array is a series of objects, such as an array of integers, an array of strings, or even an array of range objects . In a worksheet, an array formula works upon a range of cells, and so is implicitly linked to that range. In VBA, an array can be loaded with a range, but it then is loaded with the range values, and loses any relationship to that range. http://www.excelforum.com/excel-general/515039-difference-between-range-and- array.html -----Original Message----- From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of netuser501 Sent: Tuesday, July 26, 2011 4:30 AM To: MS EXCEL AND VBA MACROS Subject: $$Excel-Macros$$ beginner question I would like to know the best option between using an array (most often as type variant) or a range object? -- ---------------------------------------------------------------------------- ------ Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel