+ Reply to Thread
Results 1 to 4 of 4

Split worksheet columns into more columns (same worksheet) based on numer of rows

Hybrid View

  1. #1
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2506 Win 11
    Posts
    24,799

    Re: Split worksheet columns into more columns (same worksheet) based on numer of rows

    Since you only provided a picture and did not upload the file to test, then this code is untested.

    Sub AMS()
    Dim lr as long
         lr= Range("A" & Rows.Count).End(xlUp).Row
         Range("A2001:H4000").Cut Destination:= Range("I1")
         Range("A4001:H" & lr).Cut Destination:= Range("Q1")
    End Sub
    Alan
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  2. #2
    Registered User
    Join Date
    03-11-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Split worksheet columns into more columns (same worksheet) based on numer of rows

    Hi Alan,

    Thanks for reply. I will look into it.

    Also attached file which was used for screenshots in first post.

    Best regards,

    Ribka
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1