+ Reply to Thread
Results 1 to 5 of 5

Design Text processor using excel macros

  1. #1
    Registered User
    Join Date
    03-10-2020
    Location
    Columbus
    MS-Off Ver
    Microsoft Excel
    Posts
    2

    Post Design Text processor using excel macros

    Hi All,

    I have a requirement to create a text processor by using MS Excel macros. Please find the below example of chat transcript.

    Chat Transcript:
    John: 11:36:33 AM
    Hi
    ServiceDesk : 11:36:34 AM
    Hello John !
    Thank you for contacting ServiceDesk Agent, please confirm your USER ID(123) by typing “Yes/No”.
    *** Please enter 2 to chat in Spanish / Por favor, introduzca 2 para chatear en español ***
    John: 11:36:44 AM
    yes
    ServiceDesk : 11:36:45 AM
    If this chat is related to EXISTING TICKET, please type YES. Otherwise,
    Please choose option/number for XXX Applications from below list. This list is based on Business Unit from your profile.
    Note: If you would like to choose application from other BU, please choose option 8.
    (Type the number)
    1. XYZ
    2. ABC
    3. CDE
    4. XYZAS 5. JKLKL
    6. LKJ 7. ABCUY 8. Go Back (Business Unit Menu)
    9. Others
    John: 11:37:03 AM
    1
    ServiceDesk : 11:37:03 AM
    You have chosen XYZ Application- Application Link
    Note: If you want to choose a different application, please choose option 3 to change application or choose option 4 to change the business unit.
    Please select the service option/number from following categories.
    (Type the number)
    1. Application Access
    2. Application Issue
    3. Go Back (Application Menu)
    4. Go Back (Business Unit Menu)
    5. Others
    John: 11:37:53 AM
    5
    ServiceDesk : 11:37:54 AM



    Here i am expecting out put should be below after i paste the above data.

    Name: John
    USER ID: 123
    Application : XYZ ( Because John selected option 1 )

    Kindly let me know if anybody have similar requirement had earlier.

    Thanks
    Suresh

  2. #2
    Forum Contributor
    Join Date
    07-01-2018
    Location
    Adelaide, South Australia
    MS-Off Ver
    Office 365, & Excel 2016 on windows 10, & 14.7 for mac, & Excel 2015 for mac
    Posts
    173

    Re: Design Text processor using excel macros

    Are you asking for help on some aspect of this? What are you stuck on?
    If my solution helped, please consider adding Rep

  3. #3
    Forum Expert
    Join Date
    07-06-2004
    Location
    Northern California
    MS-Off Ver
    2K, 2003, 2010, O365
    Posts
    1,490

    Re: Design Text processor using excel macros

    Simply put, you are INSANE to try using Excel or VBA for this rather than a scripting language, Python, Javascript, even perl or awk.

    John as Name is easy enough to parse out with a regular expression like (\w+): \d\d:\d\d:\d\d [AP]M, and picking off the parenthesized subexpression. USER ID requires storing the proposed user ID in a Service Desk transmission and then looking for a confirmation transmission from the user. Then needing to create an associative array on the fly from a subsequent Service Desk transmission and looking for the index in a subsequent transmission from the user.

    Can this be done in Excel? Yes, but it's crude. Here's an example on OneDrive. Download it and run it locally. It's how I implement a text processing state machine in Excel.

  4. #4
    Registered User
    Join Date
    03-10-2020
    Location
    Columbus
    MS-Off Ver
    Microsoft Excel
    Posts
    2

    Re: Design Text processor using excel macros

    Yeah I am asking for help . how can we achieve this .

  5. #5
    Forum Contributor
    Join Date
    07-01-2018
    Location
    Adelaide, South Australia
    MS-Off Ver
    Office 365, & Excel 2016 on windows 10, & 14.7 for mac, & Excel 2015 for mac
    Posts
    173

    Re: Design Text processor using excel macros

    Suresh, I don't think you understood me.
    If you are simply dumping the whole project on the forum, with no work of your own done, and saying "tell me how to do this", well that is too much work for me, especially if you expect us to do your job for you for free.

    On the other if you post saying "Here's how I've been trying to solve a problem, and here's the bit that I don't understand, here's the bit that I am stuck on." Well in that case we would be happy to help you get past the stuff you are stuck on. But you do need to come to the forum with something more than a description of your entire project.

    If you haven't made any start on this, and you are looking for an reproach, then I would suggest that you look at using UserForms or message boxes. You could script a series of options in that way, but i don't think excel is a good platform for what you described

+ 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. Remove the box from design mode but not the text in excel
    By indukp in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-17-2017, 11:52 AM
  2. Replies: 5
    Last Post: 03-29-2017, 02:08 AM
  3. Excel 32 Bit Vs 64 Bit on x64 Bit machine (Processor) and VBA
    By Hawko1973 in forum The Water Cooler
    Replies: 13
    Last Post: 06-08-2016, 11:06 AM
  4. Fastest Processor Performance for Excel
    By davidstone in forum Excel General
    Replies: 1
    Last Post: 08-28-2006, 03:34 PM
  5. Macros Pegging Processor !
    By jsi69i in forum Excel General
    Replies: 0
    Last Post: 05-05-2006, 09:00 PM
  6. excel and Hyperthreading (multi-processor)
    By Christophe Niel in forum Excel General
    Replies: 1
    Last Post: 07-04-2005, 06:05 PM
  7. Replies: 2
    Last Post: 06-01-2005, 05:05 PM

Tags for this Thread

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