+ Reply to Thread
Results 1 to 2 of 2

Open File And Manipulate

  1. #1
    Forum Contributor
    Join Date
    12-22-2004
    Location
    Kokomo, Indiana
    Posts
    236

    Question Open File And Manipulate

    I have Excel 2010 on a Windows 8.1 machine. Attached are two files. The first is a sample data file with an extension of .csv. The second file is my attempt to open the file > Save it as an .xlsx file and start changing the worksheet. The .csv file is a log file I download from one of our test systems. These .csv files can have thousands of rows. I would like to delete all instances of <> and all the contents between <>. Lastly delete all the blank/empty columns. I think I got the 80% solution but am having difficulty with the rest. Request one of you smart VBA guys help an old test engineer out. Thanks.

    Tony
    Attached Files Attached Files

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Open File And Manipulate

    Hi, Tony,

    have two or three macros or just one?

    Please test (you might need to change the SaveAs part which will cause run-time errors withthe given anme and substitute ( and ) in the name respectively):
    Please Login or Register  to view this content.
    Since a csv will only have one worksheet as default I didnīt care for placing a sheet name in this code.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

+ 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. A file iis found if I open Excel FIRST, but not if I open the file by double-clicking
    By Ed_Collins in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-11-2013, 01:52 AM
  2. [SOLVED] open variably named file, copy/paste data into consolidation file, open next file in list
    By sllawrence1968 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-29-2012, 09:49 PM
  3. VBA for excel 2003. Open file dialog box, open 2007 file xlsx, continue with code
    By rain4u in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-25-2011, 12:12 AM
  4. Manipulate Large Csv File
    By xxwohxx in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-01-2010, 06:06 PM
  5. open and manipulate embedded word documents from excel?
    By mcledavid in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-21-2009, 04:24 PM

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