Results 1 to 4 of 4

Thread: Button in Excel forced to be on foreground on all applications

  1. #1

    Question Button in Excel forced to be on foreground on all applications



    Register for a FREE account, and/
    or Log in to avoid these ads!

    Hello friends,can anyone help me?
    i have made a button in Excel - VB ,i want to force this button(only not excel) always to be on foreground , on all applications , even when the excel is minimised this button will be foregrounded on top of all applications.


    Thanks
    Robbs

  2. #2
    Administrator Ken Puls's Avatar
    Join Date
    Mar 2011
    Location
    Nanaimo, BC, Canada
    Posts
    2,209
    Articles
    57
    Blog Entries
    14
    Unfotunately the buttons on an Excel sheet are contained as part of the Excel file. So minimizing Excel will take the button with it. I'm not aware of any way to fix that.

    You may be able to get help doing this using VB.Net at http://www.xtremevbtalk.com/ though... Not promissing, but they may be able to find a way. The solution won't be driven from Excel though, that I can assure.

    Good luck,
    Ken Puls, FCPA, FCMA, MS MVP (Excel)

    Learn to Master Your Data at the Power Query Academy (the world's most comprehensive online Power Query training) or with my book M is for Data Monkey!

    Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/forums
    Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter

    If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.

  3. #3
    Can the button be moved to the Windows Taskbar instead?

  4. #4
    Administrator Ken Puls's Avatar
    Join Date
    Mar 2011
    Location
    Nanaimo, BC, Canada
    Posts
    2,209
    Articles
    57
    Blog Entries
    14
    Nope. The button is equivalent to the text in cell A1. It's part of Excel.

    Depending on the version of Window you're running you could create a shortcut or pin a file to the windows taskbar, but that would give you the workbook, not the button.
    Ken Puls, FCPA, FCMA, MS MVP (Excel)

    Learn to Master Your Data at the Power Query Academy (the world's most comprehensive online Power Query training) or with my book M is for Data Monkey!

    Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/forums
    Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter

    If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •