+ Reply to Thread
Results 1 to 4 of 4

How to combine two VBA macros

  1. #1
    Registered User
    Join Date
    06-01-2020
    Location
    USA
    MS-Off Ver
    2013
    Posts
    2

    How to combine two VBA macros

    I'm a super noob at Excel VBA. I have a simple button macro and I have another macro with only two lines for copying cell values. I'm trying to combine the two macros but the two lines at the end for copying cell values don't work. Any help on how to get it to work is greatly appreciated!!

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,085

    Re: How to combine two VBA macros

    In which sheet you want to use the 2 last statements

    Please Login or Register  to view this content.
    - Battle without fear gives no glory - Just try

  3. #3
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,830

    Re: How to combine two VBA macros

    Cross-posted at:
    https://www.mrexcel.com/board/thread...acros.1135803/
    https://stackoverflow.com/questions/...ine-two-macros
    Please read Excel Forum's Cross-Posting policy in rule 8: http://www.excelforum.com/forum-rule...rum-rules.html
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

  4. #4
    Registered User
    Join Date
    06-01-2020
    Location
    USA
    MS-Off Ver
    2013
    Posts
    2

    Re: How to combine two VBA macros

    Quote Originally Posted by PCI View Post
    In which sheet you want to use the 2 last statements

    Please Login or Register  to view this content.
    Thanks for responding. On the same sheet. C90 and C91 are concatenate formulas and C67 and C68 becomes external cell references. The copy works on its own but not when combined with the other macro.

+ 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] Combine 2 Macros
    By luxy007 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-11-2017, 03:12 AM
  2. Combine two Macros
    By MIGARDEIN in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-25-2015, 08:15 PM
  3. Combine macros
    By MIGARDEIN in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-24-2015, 10:57 AM
  4. Combine macros
    By rabsocket1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-15-2014, 12:46 PM
  5. how to combine several macros
    By ENEMALI in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-07-2011, 09:00 AM
  6. how to combine macros
    By ENEMALI in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-07-2011, 08:45 AM
  7. combine two macros
    By Lisa in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-19-2006, 09:20 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