+ Reply to Thread
Results 1 to 4 of 4

Need "Macro" to import CSV file into excel worksheet - Reg.

  1. #1
    Forum Contributor
    Join Date
    08-19-2016
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    300

    Need "Macro" to import CSV file into excel worksheet - Reg.

    Dear Forum Experts,

    I would like to get your support and guidance on the following requirements.

    1. I have a excel workbook for my project analysis, which has 3 worksheets (A, B & C).

    2. "A" worksheet has the master record (People come for counseling service on every month) and its the dynamic record (Every month data will be keep on adding). Data is not directly entered here in this sheet. The data is shared by other people as CSV file, we just copy and paste the data.

    3. "B" and "C" worksheets have preprogrammed descriptive data analysis tables. When "A" worksheet data changes, "B" and "C" data will be changing. This works perfectly.

    Challenges:

    1. As said above, "A" worksheet data is not directly entered here in this sheet. Manually copied from other sheet and paste it here. Due to manual copy and paste process, data error is happening.

    Requirements

    1. Need to set "Macro" to import CSV file data into "A" worksheet.

    Kindly do the needful.

    Regards

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Need "Macro" to import CSV file into excel worksheet - Reg.

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Forum Contributor
    Join Date
    08-19-2016
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    300

    Re: Need "Macro" to import CSV file into excel worksheet - Reg.

    Dear Mr. Mehmetcik,

    First of all, thanks for your reply with guidance. As you suggested, I have attached two excel worksheet, respectively names are Doc 1 - Analysis sheet, includes, Master_record (Sheet 1) and formula based pre templated data analysis tables (Sheet 2) are there. Doc 2 - Data transferring Sheet.

    Process: Now, I have to import Doc 2 (Master_Record - Sheet 1) data (from 3rd Row to complete sheet) into Doc 1 - Master_record (Sheet 1). I need macro support to import this data.

    Other points: In Doc 1 - Master_record as of now only 5 entries are there and Doc 2 - Master_record, there are 15 entries are there. Now I need to transfer this 15 entries to Doc 1.

    Regards


    Regards
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    08-19-2016
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    300

    Re: Need "Macro" to import CSV file into excel worksheet - Reg.

    Dear All,

    thanks for everyone. I found the solution and given code below for your reference. Works perfectly.

    Please Login or Register  to view this content.

+ 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. How to import IQY file without "Import Data" Dialogue Box?
    By cheeks23 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-29-2018, 03:39 AM
  2. [SOLVED] Excel 2010 -- "Visual Basic" "Macros" and "Record Macro" all disabled.
    By NicholasL in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-07-2017, 06:11 AM
  3. [SOLVED] macro to create an output file "worksheet"
    By dexterP in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-19-2015, 03:31 PM
  4. Using Macro change "Original file" to "Revised file"
    By Adamlearnexcel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-12-2015, 12:10 AM
  5. Replies: 0
    Last Post: 06-24-2014, 11:08 PM
  6. Transfert cell values from file "A" to file "B" skipping columns in file "B".
    By Sentrosi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-16-2009, 11:11 PM
  7. [SOLVED] how do I enable "import text file" excel 2002?
    By jw_schmid in forum Excel General
    Replies: 2
    Last Post: 02-09-2005, 07: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