+ Reply to Thread
Results 1 to 5 of 5

VB Code to split data

  1. #1
    Forum Contributor
    Join Date
    01-31-2012
    Location
    Georgia
    MS-Off Ver
    Excel 2010
    Posts
    193

    VB Code to split data

    Hello:

    Please refer to attached file.

    I have data as shown in column A
    I need VB Code to get the Count and Total for each TimeRange shown in column H.


    Let me know if you have any questions.
    Thanks.

    R
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Haluk's Avatar
    Join Date
    02-14-2019
    Location
    Turkiye
    MS-Off Ver
    2010 - 64 Bit on Windows-11 (22 H2) 64 Bit
    Posts
    1,150

    Re: VB Code to split data

    A simple Data >> Text to Columns should be sufficient when using with fixed widths.

    .

  3. #3
    Forum Contributor
    Join Date
    01-31-2012
    Location
    Georgia
    MS-Off Ver
    Excel 2010
    Posts
    193

    Re: VB Code to split data

    I really need VB code to use with existing Code.

    Thanks

    R

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,273

    Re: VB Code to split data

    I guess there is an amazing Regex Code for this...Not my forte...
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  5. #5
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: VB Code to split data

    Please try

    Please Login or Register  to view this content.
    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)

Similar Threads

  1. [SOLVED] VB Code to split the line of data
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-03-2016, 05:19 PM
  2. [SOLVED] VB Code to split data
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-30-2016, 11:07 AM
  3. VB Code to split and arrange data
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-11-2016, 12:55 AM
  4. [SOLVED] VB Code to split data
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-27-2016, 05:28 PM
  5. Need Macro code to split data split in 7 sheets based on variable rows in column A
    By Alija_21 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-31-2015, 08:03 AM
  6. [SOLVED] VB Code to split data
    By Oszie in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 11-27-2013, 08:37 AM
  7. how to convert excel split code to word split code
    By gsrikanth in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-02-2012, 07:56 AM

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