+ Reply to Thread
Results 1 to 17 of 17

How to add the press effect of a button?

  1. #1
    Registered User
    Join Date
    10-08-2012
    Location
    Scotland
    MS-Off Ver
    Excel 2010
    Posts
    8

    How to add the press effect of a button?

    Hi All

    I have added a shape to my spreadsheet to work as a button. All is fine and it has the desired fumctionality however, I was wondering if anyone would be able to assist me in adding the actual effect or simulate the effect of a button click/pressed?
    Any advice on this would be kindly appreciated.

    Thanks in advance,
    Last edited by TheOllie; 10-10-2012 at 06:48 AM.

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: How to add the press effect of a button?

    Can't you just use a button?

  3. #3
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: How to add the press effect of a button?

    Edit - sorry Kyle, didnt see your response

    Buttons created from controls have the push/press effect. You may have used a shape to which you could add a 3d effect but still wont have the effect you require
    Blake 7

    If your question has been answered, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

    If any member's response has helped to solve your problem, please consider using the scales icon on the top right of their post to show your appreciation.

    http://failblog.org/

  4. #4
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: How to add the press effect of a button?

    See the attached
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-08-2012
    Location
    Scotland
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: How to add the press effect of a button?

    In theory yes. However, the issue here would be I do not know how to change the shape and the design of the button etc.

  6. #6
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: How to add the press effect of a button?

    You can change the shape/design of a shape on the insert tab but the button formatting has to take place via design mode . right clicking on button and properties

  7. #7
    Registered User
    Join Date
    10-08-2012
    Location
    Scotland
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: How to add the press effect of a button?

    Yeah I have done that however there are no options regarding shape and so I am stuck with a rectangle. Thanks all the same.

  8. #8
    Forum Contributor jimmalk's Avatar
    Join Date
    08-31-2012
    Location
    Chicago
    MS-Off Ver
    Excel 2010
    Posts
    113

    Re: How to add the press effect of a button?

    Hello Ollie. This is a trick I use for all my buttons. I like the flat buttons, but you can change it if you prefer a different look. If you need further explination how to use it, kindly post back.


    button2.xlsm
    Last edited by jimmalk; 10-10-2012 at 06:01 AM.

  9. #9
    Registered User
    Join Date
    10-08-2012
    Location
    Scotland
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: How to add the press effect of a button?

    Hi Jimmalk, thats the kind of effect I am after, so how do I implement that to encorporate the functionality I have already added to my shape?

    Thanks,

  10. #10
    Forum Contributor jimmalk's Avatar
    Join Date
    08-31-2012
    Location
    Chicago
    MS-Off Ver
    Excel 2010
    Posts
    113

    Re: How to add the press effect of a button?

    Ok. First make sure you are in Design Mode. Now, select the button, right click, and select properties. Now in there you can change the font, colors, the title, etc.. Now, in your sheet code you will see the code I put inn there. Look for the place that says '// PUT YOUR CODE HERE And.. put your code there Also, where you have the 2 SpecialEffect lines, you can change those variables to get a different effect if you like. Like I said earlier, my favorite is the flat effect. ok?

  11. #11
    Forum Contributor jimmalk's Avatar
    Join Date
    08-31-2012
    Location
    Chicago
    MS-Off Ver
    Excel 2010
    Posts
    113

    Re: How to add the press effect of a button?

    Ollie, one other detail. Select again, right click, and select Format Control. In there are options to make the size an exact size if you want, and you also select the properties if you want the button to stay unmovable (usually recomended). If anything isnt clear, just post. Good luck

  12. #12
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,441

    Re: How to add the press effect of a button?

    You can play with the 3d formatting of a shape to create fake click.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  13. #13
    Registered User
    Join Date
    10-08-2012
    Location
    Scotland
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: How to add the press effect of a button?

    Oh sorry I was just refering to the click effect. I still want to stick with the shape I have used. I appreciate your help though.

    Thanks

  14. #14
    Registered User
    Join Date
    10-08-2012
    Location
    Scotland
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: How to add the press effect of a button?

    Hi Andy, thanks for the suggestion, that is what i have done. Just needed something to show the user the button has registered their action. Was just hoping to add a click looking function. All good though. Thanks everyone.

  15. #15
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: How to add the press effect of a button?

    Nice one andy... saved to my excel sample folder!

  16. #16
    Registered User
    Join Date
    03-24-2014
    Location
    Vienna, Austria
    MS-Off Ver
    Excel 2010
    Posts
    72

    Re: How to add the press effect of a button?

    Hey, sorry to pick up an old thread.

    I tried to do that but can't make it work. I did all the settings like the button of Andy, but when I click on it, nothing changes. What am I doing wrong? I tried it with a rectangle.

  17. #17
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,441

    Re: How to add the press effect of a button?

    Does the example work for you?

    If so post your attempt so we can discover what you did different

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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