+ Reply to Thread
Results 1 to 3 of 3

VBA button create from a macro

  1. #1
    Forum Contributor
    Join Date
    04-29-2012
    Location
    nuneaton, England
    MS-Off Ver
    Office 365
    Posts
    372

    VBA button create from a macro

    Hi all,

    I need a macro that will look for the last cell with info in in column D and then checks if the corresponding cell in column E has a macro button there, and if not copy one and paste a button in there.

    Please Login or Register  to view this content.
    This is one that i recorded, but i need to amend it so it becomes dynamic and also so it checks to see if a button exist there already.

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: VBA button create from a macro

    Hi wayneg,

    Try the following macro. Please note that your original code creates two Buttons.
    Please Login or Register  to view this content.
    I hope this helps.

    Lewis

  3. #3
    Forum Contributor
    Join Date
    04-29-2012
    Location
    nuneaton, England
    MS-Off Ver
    Office 365
    Posts
    372

    Re: VBA button create from a macro

    thanks LJMetzger , works nicely

+ 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. Create Macro Button
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-24-2016, 07:48 PM
  2. [SOLVED] Using macro to create a Form Control Button and Assign macro to it in a specified Cell
    By weige1989 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-30-2014, 11:51 AM
  3. I don't how to create a macro for my command button
    By jamesplant1977 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-26-2013, 11:53 AM
  4. Replies: 2
    Last Post: 02-03-2013, 06:38 AM
  5. Replies: 0
    Last Post: 01-15-2013, 08:18 PM
  6. A macro to create a form button, assign a macro and name the button
    By cl361 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-11-2008, 01:07 AM
  7. Macro to Create a Button
    By Caligula in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-27-2007, 03:02 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