+ Reply to Thread
Results 1 to 2 of 2

VBA Code assistance

  1. #1
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,176

    VBA Code assistance

    Hi All

    I'm back with a problem I need assistance with.

    I have attached two files.

    On opening the Workbook (Master), when I press the Generate No it automatically opens up a different workbook - (No Generator) which generates a new invoice no.
    My problem however is that after the macro runs, both workbooks are closed and only the (No Generator) should close.

    Can anyone assist. Here is the code for both workbooks:

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    02-09-2014
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    60

    Re: VBA Code assistance

    This is because of the below code:

    Please Login or Register  to view this content.
    Please use below:

    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. [SOLVED] VBA Code Assistance
    By kapeller in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-20-2014, 03:52 AM
  2. Assistance on code for CC in mails
    By angel2903 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-28-2014, 04:22 PM
  3. [SOLVED] Code assistance
    By Jim May in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-24-2005, 01:05 PM
  4. [SOLVED] Code assistance
    By Jim May in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-26-2005, 05:19 PM
  5. VBA code assistance.
    By badger55 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-11-2005, 09:32 AM
  6. [SOLVED] Assistance with code Please
    By Greg B... in forum Excel General
    Replies: 8
    Last Post: 03-02-2005, 11:16 PM
  7. I need assistance getting VBA code to do the following...
    By SD in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-03-2005, 12:06 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