+ Reply to Thread
Results 1 to 2 of 2

Help.. New to VBA... Macro1 to Input Macro2 to Transfer... but happening at once! Help!

  1. #1
    Registered User
    Join Date
    03-10-2016
    Location
    Hickory NC
    MS-Off Ver
    2010
    Posts
    1

    Help.. New to VBA... Macro1 to Input Macro2 to Transfer... but happening at once! Help!

    New to the VBA scene and I need a simple solution to my problem. I wrote two macros, made two buttons and attempted to assign the macros to each. My intent was to have a INPUT macro where you are prompted by input.boxes to do the data entry on a sheet named "cover" then I created another that is supposed to cut and paste (transfer data button) your info to the database. HOWEVER the 1st macro is prompting you as it should, but in stead of filling the cells on "cover" its populating the data base. How do i correct. Macro1 doesn't reference the database or Macro2 at all, so Im not sure how its happening.

  2. #2
    Valued Forum Contributor
    Join Date
    05-14-2012
    Location
    Unknown
    MS-Off Ver
    Unseen
    Posts
    429

    Re: Help.. New to VBA... Macro1 to Input Macro2 to Transfer... but happening at once! Help

    Unless you explicitly specify the workbook and worksheet, the code will default to working on the active sheet in the active workbook.

+ 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. If the time is after 7 then <Macro1> if the time is before 7 then <macro2>
    By Jenkins27 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-17-2015, 12:22 PM
  2. [SOLVED] How can I transfer "Macro1" from under Module1 to under Sheet1 ?
    By HerryMarkowitz in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-11-2014, 07:52 PM
  3. Macro to allow user input and transfer to comment
    By rename in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-26-2012, 03:27 AM
  4. Input all data WS1 - Transfer to other WS's
    By SVTF in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-10-2008, 11:27 AM
  5. Transfer data without input box?
    By deeppurple247 in forum Excel General
    Replies: 12
    Last Post: 01-20-2007, 02:40 PM
  6. importing data:Sub Macro1()
    By Sergei D in forum Excel General
    Replies: 0
    Last Post: 07-31-2006, 12:48 PM
  7. Need Macro1 to call Macro2 stored on Network drive
    By LESman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-09-2005, 06:05 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