+ Reply to Thread
Results 1 to 5 of 5

Macro Button to export certain fields into only text

  1. #1
    Registered User
    Join Date
    01-09-2018
    Location
    singapore
    MS-Off Ver
    excel mac 2011
    Posts
    10

    Macro Button to export certain fields into only text

    Hi there, i have a daily report which involves tables, items purchased and a name of whoever was in charge of that table.

    I need to export into a simple text list, however i'm not experienced with macros at all..

    I've attached a sample excel and also the desirable text that i would need.

    Do let me know if anyone needs more details to understand the project.

    Basically:

    Date

    Name1:
    Table number
    Products

    table number
    Products

    ... and so on relevant to Name1

    ..

    Continuing on with all 4 names.
    Attached Files Attached Files
    Last edited by johnstamosiscool; 01-16-2018 at 11:28 AM.

  2. #2
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Macro Button to export certain fields into only text

    So based on your example you want a date in cell B1, which you didn't explain why that date, two blank lines and then four names from the tables?
    Click the * Add Reputation button in the lower left hand corner of this post to say thanks.

    Don't forget to mark this thread SOLVED by going to the "Thread Tools" drop down list above your first post and choosing solved.

  3. #3
    Registered User
    Join Date
    01-09-2018
    Location
    singapore
    MS-Off Ver
    excel mac 2011
    Posts
    10

    Re: Macro Button to export certain fields into only text

    The date is just an example.
    Please Ignore Cells H4-H7

    all the data in the excel would be input manually.

    Every table has a list of products.

    Every table has a name in the top right cell.

    Every table has a table number in the top left cell.

    The text export would be
    Date (pulled from cell H1)

    Name 1:
    Table 1
    Products
    products

    Table 2
    products
    products.


    basically each name has a list of tables with the products in it.

    hope this clarifies

  4. #4
    Registered User
    Join Date
    01-09-2018
    Location
    singapore
    MS-Off Ver
    excel mac 2011
    Posts
    10

    Re: Macro Button to export certain fields into only text

    bump please if anyone can help.

  5. #5
    Registered User
    Join Date
    01-09-2018
    Location
    singapore
    MS-Off Ver
    excel mac 2011
    Posts
    10

    Re: Macro Button to export certain fields into only text

    Quote Originally Posted by johnstamosiscool View Post
    Hi there, i have a daily report which involves tables, items purchased and a name of whoever was in charge of that table.

    I need to export into a simple text list, however i'm not experienced with macros at all..

    I've attached a sample excel and also the desirable text that i would need.

    Do let me know if anyone needs more details to understand the project.

    Basically:

    Date

    Name1:
    Table number
    Products

    table number
    Products

    ... and so on relevant to Name1

    ..

    Continuing on with all 4 names.


    Is anyone able to help me with this?

+ 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. Export a column of a workbook as text and asign the operation to a macro button.
    By jberlines in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-07-2016, 06:10 AM
  2. [SOLVED] Filter and Export Data to CSV Text File With Userform Command Button
    By omagoodness in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-07-2015, 11:18 AM
  3. how to export the text data without blank fields
    By osamajamal in forum Excel General
    Replies: 5
    Last Post: 05-21-2012, 05:08 AM
  4. Excel 2007 : Button on Workbook to export data to Text file?
    By NewYears1978 in forum Excel General
    Replies: 3
    Last Post: 03-30-2010, 05:48 PM
  5. Macro to Export Selected fields to an Existing Access Database
    By ernie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-13-2006, 01:10 PM
  6. Macro to Export Selected fields to an Existing Access Database
    By ernie in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-13-2006, 12:50 PM
  7. [SOLVED] Macro to Export Selected fields to an Existing Access Database
    By ernie in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-13-2006, 12:45 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