+ Reply to Thread
Results 1 to 5 of 5

A Button not in sheet

  1. #1
    Registered User
    Join Date
    11-20-2017
    Location
    CA
    MS-Off Ver
    2016
    Posts
    26

    A Button not in sheet

    Hello everyone,

    To create a button I know how to insert and select the range in a sheet to locate the button.

    My question is : Is that possible we can create a button who is not just belongs to a special sheet but it is a global like button?(the global like means it will float over any worksheets even including new sheet created in the future)

    Thank you!

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,885

    Re: A Button not in sheet

    Why not place button in the ribbon?

    http://www.excel-easy.com/vba/exampl...e-toolbar.html

    If you need it for single workbook, you can skip the steps to add to Personal.xlsb.

    Just customize ribbon and add custom group and add your macro under it.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  3. #3
    Registered User
    Join Date
    11-20-2017
    Location
    CA
    MS-Off Ver
    2016
    Posts
    26

    Re: A Button not in sheet

    Thank you very much CK76! It works!

    But the new button will show up at every other excel too. while I only need this function in a specific excel file only.
    Last edited by qzlvyh0524; 11-20-2017 at 04:56 PM.

  4. #4
    Forum Expert
    Join Date
    04-01-2013
    Location
    East Auckland
    MS-Off Ver
    Excel 365
    Posts
    1,343

    Re: A Button not in sheet

    Also you can add it to the context menu.

    https://msdn.microsoft.com/en-us/lib...ffice.14).aspx

    You can make it appear and disappear based on the active book

    Please Login or Register  to view this content.
    If you want something done right... find a forum and ask an online expert.

    Time flies like an arrow. Fruit flies like a banana.

  5. #5
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,885

    Re: A Button not in sheet

    But the new button will show up at every other excel too. while I only need this function in a specific excel file only.
    That's going to be bit more involved. See Ron de Bruin's site for details.
    https://www.rondebruin.nl/win/section2.htm
    http://www.rondebruin.nl/win/s2/win001.htm

+ 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] Confirm data entry once sheet is input button that password locks sheet
    By gr8niss in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-21-2017, 01:15 PM
  2. [SOLVED] advice activex button vs form button on protected sheet
    By Alina Loredana in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-06-2015, 04:38 AM
  3. [SOLVED] Toggle Button to Unlock Sheet with Set Password and Unhide Rows and Relock Sheet
    By nwb in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-20-2014, 06:16 PM
  4. Button to copy specific cells to another sheet, lock button if cell has text
    By elmerg in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-14-2014, 02:10 AM
  5. Replies: 0
    Last Post: 03-13-2013, 03:14 PM
  6. Replies: 0
    Last Post: 09-17-2012, 02:07 AM
  7. Call button click event from a button on anther sheet
    By ajaykgarg in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-25-2010, 09:27 AM

Tags for this Thread

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