+ Reply to Thread
Results 1 to 6 of 6

Need use vba to arrange data, export as .csv - No clue where to start

  1. #1
    Registered User
    Join Date
    11-19-2020
    Location
    New Castle DE
    MS-Off Ver
    2013
    Posts
    17

    Need use vba to arrange data, export as .csv - No clue where to start

    Hi. I have attached the spreadsheet i am working with.
    I need to be able to manually enter device quantities into the properly labeled column,
    then need to export only certain columns in a specific configuration to a csv file,named with
    the project name .


    There will only be three columns in the csv. Line #, SCN (which is part number), and Quantity, which
    is shown for reference on the second tab of the workbook.

    Culd someone point me in the right direction please?
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Need use vba to arrange data, export as .csv - No clue where to start

    Try

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    11-19-2020
    Location
    New Castle DE
    MS-Off Ver
    2013
    Posts
    17

    Re: Need use vba to arrange data, export as .csv - No clue where to start

    Thank you! This works perfectly. Is there a way to exclude lines that have a zero quantity?

  4. #4
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,525

    Re: Need use vba to arrange data, export as .csv - No clue where to start


  5. #5
    Registered User
    Join Date
    11-19-2020
    Location
    New Castle DE
    MS-Off Ver
    2013
    Posts
    17

    Re: Need use vba to arrange data, export as .csv - No clue where to start

    Brilliant! Didn't know this, glad I do now. Thanks.

  6. #6
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Need use vba to arrange data, export as .csv - No clue where to start

    Here is updated code to exclude rows with qty zero.

    Please Login or Register  to view this content.
    Last edited by maniacb; 05-08-2021 at 07:04 PM.

+ 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. Macro to export to PDF but also re arrange the tab order
    By AnalystMH in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-25-2015, 12:18 PM
  2. [SOLVED] Extract Table from a Spreadsheet, arrange in various tabs and export to PowerPoint
    By vnzerem in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-27-2015, 08:11 PM
  3. No clue where to start - need to move cursor relative to a found cell.
    By ExNavy91 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-07-2013, 01:18 PM
  4. I would need a macro to export data from base example workbook to export worbook
    By slato8 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-01-2012, 11:21 AM
  5. Simple macro to consolidate text data worksheets into a master one. beginner, no clue
    By Mayyalondon in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-06-2012, 10:38 AM
  6. No Clue
    By miahson in forum Excel General
    Replies: 2
    Last Post: 06-02-2009, 03:58 PM
  7. [SOLVED] Force Start Row in Export
    By ssjody in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-01-2006, 03:10 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