+ Reply to Thread
Results 1 to 7 of 7

Import another excel Paste data in Current open excel sheet

  1. #1
    Forum Contributor
    Join Date
    07-17-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    713

    Import another excel Paste data in Current open excel sheet

    Hello,

    What I am trying here is creating a user form in Sheet1 of excell with a text box in it, which would pull up the excel sheet saved in local desktop ( I would do not mind excel giving me a browse option), then past the content of that excel in my Sheet2 of open workbook.

    Is this possible? I tired to find the codes but no luck as of now.

    please assist
    Thanks
    Regards

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Import another excell Paste data in Current open excel sheet

    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    08-27-2012
    Location
    Saldanha, South Africa
    MS-Off Ver
    Excel 2010
    Posts
    59

    Re: Import another excell Paste data in Current open excel sheet

    Why do you need a macro? Open the workbook, right click on the sheet name and copy it to the open workbook.

  4. #4
    Forum Contributor
    Join Date
    07-17-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    713

    Re: Import another excell Paste data in Current open excel sheet

    Thanks Patel45, for the macro, let me give it a try.

    Bongaan, The reason why i wanted it to be in macro is because I have created a userform with other option. One of the function would be creating, sorting data. Which would require input file saved in my local drive. Hope this answer to your query

    Let me try Patel's coding, then I will have it "Resolved"

    Thanks
    Regards
    Shiva

  5. #5
    Forum Contributor
    Join Date
    07-17-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    713

    Re: Import another excell Paste data in Current open excel sheet

    hey, that coding is working. But could you please help me to modify it as below

    Please Login or Register  to view this content.
    instead of this one, I need Input box, which ask this data for user to enter. Can this be done?

    Regards,
    Shiva

  6. #6
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Import another excell Paste data in Current open excel sheet

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    07-17-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    713

    Re: Import another excell Paste data in Current open excel sheet

    Hey,

    I modified it to below

    Please Login or Register  to view this content.
    But I am getting "invalid procedure call or argument" with highlighted this in vb
    Please Login or Register  to view this content.
    Any help.

    Regards
    Shiva

    ---------- Post added at 07:17 PM ---------- Previous post was at 07:14 PM ----------

    Got it fixed. It is working now.

    Let me check few more then I will close this thread.

    Thank You very much for your help!
    Rep Added

    Regards
    Shiva

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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