Consulting

Results 1 to 3 of 3

Thread: Exporting specific data to seperate files

  1. #1

    Exporting specific data to seperate files

    I have a work book that contains numerous sheets where all sheets are in the same format.
    What i would like to do is have a drop down selection which contains each sheets name. This will create a folder in "my Documents" where 2 other files will be created. These files will be aas follows;
    File 1
    The text that is in column "E" rows 6 through to row 133 as a file called "preset.txt"

    File 2
    The text that is in column "G" rows 6 through to row 133 as a file called "data.hex"

    Now some of these rows are blank in column "E" so i would want to skip that and move to next row, however column "G" may have data in that row which i would want to skip as well.

    Is this doable in VBA, i know how to create a form with drop downs but have no idea how to be able to populate the drop down list from the sheet tab name or go about exporting data.

    Any suggestions would be appreciated

  2. #2
    VBAX Tutor
    Joined
    Nov 2006
    Location
    North East Pennsylvania, USA
    Posts
    203
    Location
    Mr_Mod,

    See if something below will assist you:
    Jerry Beaucaire's - Excel Assistant

    Parse Functions
    https://sites.google.com/a/madrocket...arse-functions

  3. #3
    Thanks for the link, taking a look it does not appear to be what im looking to do.
    I can manage to create the folder, but cannot figure out how to create the file and skip any missing rows. Spent ages searching here to see

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •