+ Reply to Thread
Results 1 to 1 of 1

Convert tabular data into subtitle text file format (.srt) UTF-8

  1. #1
    Forum Contributor
    Join Date
    11-29-2014
    Location
    India
    MS-Off Ver
    MS Excel 2007
    Posts
    240

    Convert tabular data into subtitle text file format (.srt) UTF-8

    Hello Friends,

    I have stock market data in excel that I wish to convert it into a text file with Encoding UTF-8 and Extension .srt which seems to be a very difficult task for me to achieve. I know how to convert an excel file into a textfile but in this case, processing needs to be done before conversion and that seems to be a little hectic. What I need to do is that bring tabular data in one column (one below the other) considering few rules. I dont know how to explain my query in text and that is why I am attaching an excel file. In the attached excel file, the tabular data is highlighted in green and how to converted data would look like is highlighted in yellow. Instructions on how the data needs to be processed is written in blue text.

    This is just a sample data. The original would data would be bigger in size. In the sample data under Equity heading there are 6 companies, under Mututal Funds, 1 company and under Foreign Exchange, there is 1 but in real data, there would be more categories and more data within each category (in sample data there are only 3 categories). Can some one give me a push on how this can be achieved in Excel VBA

    Thanks.

    EDIT: Added this question in stackoverflow. Here is the link https://stackoverflow.com/questions/...rmat-srt-utf-8
    Attached Files Attached Files
    Last edited by sabha; 11-24-2018 at 10:21 AM. Reason: Added this question in stackoverlow. link updated in question

+ 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. Create text file using VBA from Excel Tabular data
    By ganeshinscribe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-03-2018, 09:09 AM
  2. Replies: 3
    Last Post: 11-02-2017, 10:01 AM
  3. [SOLVED] Macro to Format Store Data in a Tabular Format
    By prkhan56 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-14-2015, 04:38 AM
  4. Macro to convert data into a text file in special format
    By swilson2006 in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 10-31-2013, 01:20 PM
  5. Import multiple text file into excel in tabular format
    By kr.sunny007 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-04-2013, 09:32 AM
  6. How to Convert Matrix format data into tabular format data
    By nishchints in forum Excel General
    Replies: 1
    Last Post: 02-22-2012, 03:53 PM
  7. Variable text blocks to excel tabular format
    By maxstar in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-23-2010, 08:21 AM

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