+ Reply to Thread
Results 1 to 3 of 3

Browse to another workbook, copy data from a table, return to original workbook and paste

  1. #1
    Forum Contributor
    Join Date
    08-21-2012
    Location
    London
    MS-Off Ver
    Office 365 MAC
    Posts
    107

    Browse to another workbook, copy data from a table, return to original workbook and paste

    Hi all

    I have been going around in circles and something doesn't appear to be working on my MacBook Pro. I am using Excel for Mac, v16.69.1 under my office 365 subscription.

    even some basic vba to open a file has not been working which leads me to suspect I have an issue on my computer perhaps?

    Anyway, what I want to achieve is shown below and I have attached an example file, with two worksheets in.

    I have a destination workbook where I wish to paste data to. In this workbook there is a worksheet named MASTER and in there is a table named MASTERdata.
    I have placed some example SOURCE data in the tab 'Other Workbook'

    I would like the VBA to achieve the following: (From within the Destination Workbook)
    Allow me to browse and open a file. This file hosts the source data (as per the other workbook tab)
    Copy the 'Assessment Response' data in that table only.
    Return to the DESTINATION workbook
    Past the values in the next available empty row in the MASTERdata table, transposed, from field 'GG1-Assessment'

    I believe this to be straight forward enough but as I mentioned, not have ing any success!

    Even the following code returns errors and this is just to open a file!...
    Please Login or Register  to view this content.
    I would be grateful as ever if anyone could spare me some time and assist.

    As I repeatedly say, I am not convinced there is not an issue with the laptop because I keep getting all the errors I am getting

    Thank you in advance
    Attached Files Attached Files
    Learner, making mistakes, asking daft questions.

  2. #2
    Registered User
    Join Date
    05-29-2012
    Location
    Wilmingotn DE USA
    MS-Off Ver
    Excel 2016
    Posts
    67

    Re: Browse to another workbook, copy data from a table, return to original workbook and pa

    Dear Ed. Probably it is not helpful but exactly your problem is used as exmple in online course by Leila. I remember. Check xelplus.com. Course name is "Unlock Excel VBA & Excel Macros". I know you need that answer right now but for the future I really recommend that course. Good luck

  3. #3
    Forum Contributor
    Join Date
    08-21-2012
    Location
    London
    MS-Off Ver
    Office 365 MAC
    Posts
    107

    Re: Browse to another workbook, copy data from a table, return to original workbook and pa

    Quote Originally Posted by Flowerski View Post
    Dear Ed. Probably it is not helpful but exactly your problem is used as exmple in online course by Leila. I remember. Check xelplus.com. Course name is "Unlock Excel VBA & Excel Macros". I know you need that answer right now but for the future I really recommend that course. Good luck

    Thank you for this. I subscribe and watch Leila Gharani on YT so I am aware of her.

    It does not answer the specifics though, but I appreciate the direction.

+ 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. [SOLVED] Create new workbook named for Cell in original workbook and copy some sheets from original
    By ANDREAAS in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-09-2019, 01:40 PM
  2. VBA Copy/Paste data from one workbook to a table in another workbook
    By Ramtrap in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-28-2018, 03:21 PM
  3. Copy and paste from master workbook but keep original filepaths
    By awd2013 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-16-2015, 06:25 AM
  4. Replies: 1
    Last Post: 11-26-2014, 04:28 AM
  5. Copy graph to new workbook while leaving data in original workbook
    By smjpl in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 12-10-2012, 12:49 PM
  6. [SOLVED] Browse a File, Copy Selected data from it and paste it to other workbook (Active)
    By FCarv in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-24-2012, 09:46 AM
  7. Replies: 1
    Last Post: 04-01-2006, 03:50 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