Custom Function to Transpose Nonadjacent Range (134406)
The information in this article applies to:
- Microsoft Excel 97 for Windows
- Microsoft Excel for Windows 95
- Microsoft Excel for Windows 5.0
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q134406 SUMMARY
In Microsoft Visual Basic for Applications, you can create a custom function that will turn a nonadjacent selection of cells into an array.
This is beneficial with many of the built-in Microsoft Excel functions
that require a single range or an array as input and the data on the
worksheet is not contained in a contiguous range.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbProgramming KB134406 |
---|
|