![]() Kutools for Excel, with more than 300 handy functions, makes your jobs more easier. Maybe some of you do not like to use VBA code, fortunately, you can use the Transform Range utility of Kutools for Excel to quickly and easily convert a long column to fixed number of columns. Click OK, then you can see the long column is split into multiple columns and every column has 15 cells. Click Run button or press F5 key to run the VBA, and a dialog popped out for selecting the data list, and then click OK to go to specify how many rows in one column you need in the next dialog, then click OK and select a cell to output the result. OutRng.Resize(UBound(xArr, 1), UBound(xArr, 2)).Value = xArrģ. ![]() Set OutRng = Application.InputBox("Out put to (single cell):", xTitleId, Type: = 8) XRow = Application.InputBox("Rows :", xTitleId) Set InputRng = Application.InputBox("Range :", xTitleId, InputRng.Address, Type: = 8) VBA: Split long column into multiple columns. Click Insert > Module and copy the follow VBA code to the popped out window. Press Alt + F11 keys together to open the Microsoft Visual Basic for Applications window.Ģ. Split a long column into multiple columns with Kutools for Excelġ. ![]() Split long column into multiple columns with VBA But now if you can split such long list into multiple columns in Excel, it will make the viewing conveniently. If you have a long column data in Excel which will be troublesome when viewing them.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |