+ Reply to Thread
Results 1 to 3 of 3

Msgbox to open a file and transfer data to another workbook

  1. #1
    Forum Contributor
    Join Date
    10-08-2019
    Location
    Singapore
    MS-Off Ver
    2016
    Posts
    326

    Msgbox to open a file and transfer data to another workbook

    hi

    I'm trying to put together a code here to ask for user to input filename, & then open the workbook.

    The assign part works when i write it separately, but when i incorporate it here, the error msg is "Runtime error-438: Object doesn't support this property or method" pointing to the bold line,
    anyone know what the reason is ? This code is run from the active workbook ws1.



    Please Login or Register  to view this content.


    Stewart
    Last edited by MannStewart; 03-07-2022 at 12:46 PM.

  2. #2
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Msgbox to open a file and transfer data to another workbook

    Update that line to this:

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    10-08-2019
    Location
    Singapore
    MS-Off Ver
    2016
    Posts
    326

    Re: Msgbox to open a file and transfer data to another workbook

    that did it, thanks maniacb

    cheers
    Stewart

+ 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] Transfer data from an open workbook into an other open workbook
    By plans in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-19-2016, 09:36 PM
  2. VBA code to transfer the excel file into another open workbook
    By blackorchids2002 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-28-2015, 01:31 PM
  3. Transfer Data from Open workbook to Close workbook
    By alexnkc in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-13-2013, 10:46 PM
  4. Macro to Open a file, transfer data, save and close
    By tforbes75 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-01-2011, 11:59 AM
  5. transfer data from open workbook to closed workbook
    By stevesunfold in forum Excel Programming / VBA / Macros
    Replies: 25
    Last Post: 12-23-2008, 08:30 AM
  6. [SOLVED] Open workbook after user input then transfer data
    By Neil in forum Excel General
    Replies: 0
    Last Post: 09-03-2005, 05:05 AM
  7. [SOLVED] How do I transfer data in a pdf file into an excel workbook?
    By CBooze1969 in forum Excel General
    Replies: 2
    Last Post: 04-19-2005, 12: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