📨 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!

Excel convertor macro

aj9648
aj9648 Posts: 1,396
Part of the Furniture 500 Posts Name Dropper
Forumite
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,502
    Part of the Furniture 1,000 Posts Name Dropper Photogenic
    Forumite
    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,396
    Part of the Furniture 500 Posts Name Dropper
    Forumite
    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,988
    Part of the Furniture 1,000 Posts Name Dropper Photogenic
    Forumite
    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 £28589.68/£32063 OP (Original target £20000 met)
  • aj9648
    aj9648 Posts: 1,396
    Part of the Furniture 500 Posts Name Dropper
    Forumite
    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
  • 355.9K Banking & Borrowing
  • 255K Reduce Debt & Boost Income
  • 456.2K Spending & Discounts
  • 248.4K Work, Benefits & Business
  • 606.1K Mortgages, Homes & Bills
  • 179K Life & Family
  • 263.9K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.2K 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.