+ Reply to Thread
Results 1 to 4 of 4

Export as CSV file!

  1. #1
    Forum Contributor
    Join Date
    08-04-2016
    Location
    pakistan
    MS-Off Ver
    2010
    Posts
    225

    Export as CSV file!

    Hi

    i am not getting results as per my requirement & i also required some modification it.
    half of code working fine, in column i, Q & M data is coping fine its static/fix data column A is also good and fine & other data will come up or copy from sam file to exported WBK!

    below part isn't working!


    column B of sam file will go to column N in exported file, column C of sam file will go to column W, column D of sam file will go to column R, column E of sam file will go to column O, column F of sam file will go to column K.

    below is change/modification which i required.

    when i run code i want one dialog box for pre number for column A, which number i will paste/write in that will become first digit of column A data for example i write 1 than 1 will be leading number of each cell if i leave blank than only column A data will copy as it is(only will remove dashes and spaces already in code) & total count of cell will be 11.
    14311234560
    14311234561
    14311234562

    second in column C sam file if there is only three letter than its will export with leading 0 only in sample like 0555, 0495

    all other thing will remain safe.

    i attached both files sam file and exported file(grv)

    Please Login or Register  to view this content.

    Adeel
    Attached Files Attached Files
    Last edited by adeel1; 11-27-2019 at 01:06 AM.

  2. #2
    Forum Contributor
    Join Date
    08-04-2016
    Location
    pakistan
    MS-Off Ver
    2010
    Posts
    225
    Any help please!

  3. #3
    Forum Contributor
    Join Date
    08-04-2016
    Location
    pakistan
    MS-Off Ver
    2010
    Posts
    225

    Re: Export as CSV file!

    could any one!

  4. #4
    Forum Contributor
    Join Date
    08-04-2016
    Location
    pakistan
    MS-Off Ver
    2010
    Posts
    225

    Re: Export as CSV file!

    i manage some of code my self to correct now data is going in write places/Columns!

    any one can add below part in code !

    when i run code i want one dialog box for pre number for column A, which number i will paste/write in that will become first digit of column A data for example i write 1 than 1 will be leading number of each cell if i leave blank than only column A data will copy as it is(only will remove dashes and spaces already in code) & total count of cell will be 11.
    14311234560
    14311234561
    14311234562

    second in column C sam file if there is only three letter than its will export with leading 0 only in sample like 0555, 0495

    Please Login or Register  to view this content.
    Adeel

+ 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 Pre-selected Rows to Macro-enabed File, Save the file, Print it as PDF.
    By N1ka in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 04-03-2018, 08:07 PM
  2. [SOLVED] To create a file folder in the current workbook location and export the file
    By Ravana in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-10-2016, 07:30 AM
  3. Export Cells to Text and automatically have File Name and File Type Selected
    By bloomingcarrot in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-18-2014, 03:37 PM
  4. Export To Inf file & Zip the Files from the given file paths picking every 10 rows
    By vivekhalder in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-18-2012, 03:59 AM
  5. Export Excel records to seperate text file & compress it to protecte ZIP file
    By firedragon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-03-2012, 10:47 AM
  6. [SOLVED] Export excel file to semicolon delimited text file
    By capitan in forum Excel General
    Replies: 5
    Last Post: 04-06-2005, 11:07 PM
  7. [SOLVED] How do I import text file, analyze data, export results, open next file
    By Geoffro in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-06-2005, 04:06 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