+ Reply to Thread
Results 1 to 5 of 5

Using VBA to transform Layout

  1. #1
    Forum Contributor
    Join Date
    10-02-2023
    Location
    Singapore
    MS-Off Ver
    Microsoft 365
    Posts
    184

    Using VBA to transform Layout

    Hi, when i extract my data, the layout aint in a very friendly manner. Coz there empty space, and aso Column A has both Customer Name and Customer ID in it.

    I cant do filter etc. Hence i wan to covert the data to a Table-Like way.

    Anyway to use VBA to transform it??

    My attached file has 2 tab. One is the raw, one is what i wan.
    Attached Files Attached Files

  2. #2
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,712

    Re: Using VBA to transform Layout

    Hi FT00,

    Try below code ...
    Please Login or Register  to view this content.
    If I was able to help, you can thank me by clicking the * Add Reputation under my user name

  3. #3
    Forum Contributor
    Join Date
    10-02-2023
    Location
    Singapore
    MS-Off Ver
    Microsoft 365
    Posts
    184

    Re: Using VBA to transform Layout

    Hi Nankw, thanks for your code, how about if the Cust number is not necessary starting with #? Can be random Character, but then the Customer Name is always on top of the Cust number.

  4. #4
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,712

    Re: Using VBA to transform Layout

    Try below code ..
    Please Login or Register  to view this content.
    Last edited by nankw83; 04-10-2024 at 10:08 AM.

  5. #5
    Forum Contributor
    Join Date
    10-02-2023
    Location
    Singapore
    MS-Off Ver
    Microsoft 365
    Posts
    184

    Re: Using VBA to transform Layout

    Hi Nankw83, Thanks for your code

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] How to transform data array from vertical to horizontal layout
    By choletseng in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-05-2022, 09:36 AM
  2. [SOLVED] How to transform data array from horizontal to vertical layout
    By choletseng in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-11-2022, 12:28 AM
  3. Replies: 15
    Last Post: 05-06-2022, 07:52 PM
  4. [SOLVED] How to transform data array from vertical to horizontal layout
    By metrostar in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-06-2022, 09:54 AM
  5. Help on Ideas of how to transform data from a vertical to more horizontal layout
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-29-2016, 03:02 AM
  6. Take Sheet1 layout and Create Sheet2 layout with Macro
    By theglitch in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-18-2013, 03:50 PM

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