+ Reply to Thread
Results 1 to 13 of 13

export new WBK with CSV file

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

    export new WBK with CSV file

    Hello all
    Column I, Q, M will be static with mention data other will copy from sample file!
    My most concern is about data in column A & B, where I received data with different strings/spelling which I need to correct manually I made max. examples please review
    Column A has some of has dashes, leading and trailing spaces (these are char spaces)
    Column A data will copy with leading “0” & make text column in exported file.
    I want to export with CSV file and save at C:\Users\Pervaiz Iqbal\Desktop\AA\
    WB name always will A2 of original file and WS name will “grvConnections”

    Please be flux in code to fill remaining of data myself!
    Thnx in advance

    Adeel
    Attached Files Attached Files
    Last edited by adeel1; 05-19-2019 at 06:03 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: export new WB with CSV file

    I suppose WB is "workbook" not Warner Brothers?
    ( AFAIK the abbreviation is usually "wbk")

  3. #3
    Forum Contributor
    Join Date
    08-04-2016
    Location
    pakistan
    MS-Off Ver
    2010
    Posts
    225
    My apology, i didnot aware to it you are correct it's workbook.

    Adeel

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: export new WB with CSV file

    Change it in your thread title then to help our members understand. Thx

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

    Re: export new WBK with CSV file

    I have updated!

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

    Re: export new WBK with CSV file

    Can anyone help please!!

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

    Re: export new WBK with CSV file

    any one please

  8. #8
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: export new WBK with CSV file

    Not really sure...
    Please Login or Register  to view this content.

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

    Re: export new WBK with CSV file

    Hi Jindon
    thnx for you reply & help, the file with the name "04311234560" is resulted file in my first thread, above code is exporting wbk with same sheet, in resulted("04311234560") sheet header and sequence are different(please ignore header of sam file),please review and follow "04311234560" file & your above code is working fine for column A,

    Adeel

  10. #10
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: export new WBK with CSV file

    Please Login or Register  to view this content.
    Attached Files Attached Files

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

    Re: export new WBK with CSV file

    hi
    thnx sir, its works well with little issue, apology for not well defined as my language isn't English.

    you have fix all the data actually it will not, fix data only will for column i, Q & M, all other data will copy from sam file likewise sam file column A copy to column B of new WBk, column B will go to column N, column C will go to column W, column D will go to column R, column E will go to column K, column F will go to column O.
    if any of blank that will not fill.
    Adeel

  12. #12
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: export new WBK with CSV file

    Wait for someone else who can understand what you are trying to do.
    Last edited by jindon; 05-21-2019 at 11:42 AM.

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

    Re: export new WBK with CSV file

    hi sir
    i made example for better understanding, your code is working fine only issue is data placement in exported sheet, please review yellow highlighted columns with comments,
    actually i only made sample data in sam file, data will vary and change as per need, please review

    Adeel
    Attached Files Attached Files

+ 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. Export Email Data to specific fields in CSV file (or XLS file)
    By jpcsolutions in forum Outlook Programming / VBA / Macros
    Replies: 1
    Last Post: 07-29-2016, 11:07 AM
  3. [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
  4. 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
  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. 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