+ Reply to Thread
Results 1 to 7 of 7

VBA that copies module and code into a new workbook

Hybrid View

  1. #1
    Valued Forum Contributor
    Join Date
    03-24-2014
    Location
    England
    MS-Off Ver
    Excel 2003 - 2016
    Posts
    575

    Re: VBA that copies module and code into a new workbook

    if you step through the code, what happens when you execute the line

    TargetWB.VBProject.VBComponents.Import strTempFile
    with the on 'error resume next' commented out?
    Last edited by BellyGas; 12-18-2018 at 09:02 AM.

+ 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. Replies: 7
    Last Post: 08-25-2018, 09:00 PM
  2. [SOLVED] Help with code to open files and copies them into another workbook
    By rv02 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-10-2018, 07:24 AM
  3. Error Handler Help for Code that Copies a sheet to a new workbook
    By caliskier in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-27-2014, 12:47 PM
  4. Create new workbook, module and code using vba
    By pgm in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-12-2012, 06:03 PM
  5. [SOLVED] VBA code to execute a module in a different workbook
    By Need_help_please in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-06-2012, 06:27 AM
  6. how to access Sheet module, normal module, Worbook module to type code
    By alibaba in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-31-2009, 07:51 AM
  7. Run worksheet module code from workbook module?
    By keithb in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-14-2005, 12:05 AM

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