We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

Excel convertor macro

aj9648
aj9648 Posts: 1,388 Forumite
Part of the Furniture 500 Posts
Is anyone proficient with VB and macros in here?

I have been trying to convert and format some excel data into notepad/csv format as there is load of it using a macro but my skills are not very proficient!!!!

If someone can help in this area then that would be great and if ok will post my query on here?

Thanks

Comments

  • Paul_Herring
    Paul_Herring Posts: 7,484 Forumite
    Part of the Furniture 1,000 Posts Name Dropper Photogenic
    Doesn't Excel have 'csv' in the 'Save As Type' dropdown in the save file dialog?
    Conjugating the verb 'to be":
    -o I am humble -o You are attention seeking -o She is Nadine Dorries
  • aj9648
    aj9648 Posts: 1,388 Forumite
    Part of the Furniture 500 Posts
    It does but I need to reformat the excel file and then save as csv....I have 60 excel files each with 60000 rows !!!!
  • scottishlass
    scottishlass Posts: 1,976 Forumite
    Part of the Furniture 1,000 Posts Name Dropper Photogenic
    Can you post what you have so far so that I can get some idea of where you are with it.
    2026 Mortgage-Free Wannabes #24 £3554.14/£20000 OP
  • aj9648
    aj9648 Posts: 1,388 Forumite
    Part of the Furniture 500 Posts
    I have attached sample of the input and output files: (doh cant attach anything) - can i send the files over scottishlass?

    Input File:

    Outstation NamePoint NameDeterminandUnit AbbrevDateTimeTrend RateStream TypeValueDressed By RodUnavailableRange StateData QualABCOUTLET_PRESSUREPressurem head01-Apr-0700:1515MAVG120.63400NNNNABCOUTLET_PRESSUREPressurem head01-Apr-0700:3015MAVG120.82548NNNNABCOUTLET_PRESSUREPressurem head01-Apr-0700:4515MAVG121.33610NNNNABCOUTLET_PRESSUREPressurem head01-Apr-0701:0015MAVG121.08079NNNN

    Output File:

    ABC#OUTLET_PRESSURE#PRESSURE#01.04.2008 00:00:15;120.634
    ABC#OUTLET_PRESSURE#PRESSURE#01.04.2008 00:00:30;120.825
    ABC#OUTLET_PRESSURE#PRESSURE#01.04.2008 00:00:45;121.336
    ABC#OUTLET_PRESSURE#PRESSURE#01.04.2008 00:01:00;121.081
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 353.5K Banking & Borrowing
  • 254.1K Reduce Debt & Boost Income
  • 455K Spending & Discounts
  • 246.6K Work, Benefits & Business
  • 602.9K Mortgages, Homes & Bills
  • 178K Life & Family
  • 260.5K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.