VBA loop to add cells to selection and merge
Hi,
I am looking for a code to loop through cells and add them to the selection, in order to merge them all at end of loop.
Regards.
ExcelExperts.comExcel Consultancy, VBA Consultancy, Training and Tips Call:+442081234832 |
|
Excel / VBA ConsultancyFree Training VideosFree SpreadsheetsExcel / VBA JobsNavigationWho's onlineThere are currently 0 users and 625 guests online.
New Excel Experts
Current Excel / VBA Jobs |
VBA loop to add cells to selection and mergeHi, |
Highest Ranked Users
Recent Blogs
ForumsRecent comments
User login |
you can use the UNION
you can use the UNION function in VBA to add ranges together...
here's an example of how it's used:
http://excelexperts.com/xla-routines-eerangeunion