Results 1 to 3 of 3

How to add 3d bevel (Cool Slant) shape effect to Oval shape

Threaded View

  1. #1
    Forum Contributor
    Join Date
    12-19-2012
    Location
    England
    MS-Off Ver
    Excel 2016
    Posts
    135

    How to add 3d bevel (Cool Slant) shape effect to Oval shape

    Hi,

    Attached is the code I use to add a shape to a temp worksheet, can anyone please advise me how to add a 3d bevel effect to it? In particular I wanted to use the shape effect bevel called 'Cool Slant'?

    Or point me in the direction of another thread on this subject, as I couldn't find anything.

    Sub Insert_Cancel_Form_Button()
        
        Dim sh As Object
        Set sh = ActiveSheet.Shapes.AddShape(msoShapeOval, 300, 200, 198.5, 119)
        sh.Name = "Cancel Form Button"
        ActiveSheet.Shapes("Cancel Form Button").Select
        Selection.ShapeRange.Line.Visible = False
        Selection.Characters.Text = "Click Here to Exit & Return to the Home Page"
        With Selection.Characters.Font
            .Name = "Calibri"
            .FontStyle = "Bold"
            .Size = 20
            .Color = RGB(0, 0, 0)
        End With
        Selection.OnAction = "Home_From_Fault_Check_Cancel"
        
    End Sub
    Edit: Im using Excel 2007 ifit makes any difference...

    Thanks
    Steve
    Last edited by Steve@Rugby; 12-11-2013 at 11:19 AM. Reason: text added

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 13
    Last Post: 12-10-2013, 12:51 PM
  2. [SOLVED] Use a button to control a macro that inserts an image into a shape or resets the shape
    By nwb in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-13-2013, 04:41 PM
  3. Graph in a oval shape
    By coreytroy in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 03-22-2013, 02:57 AM
  4. Add command button to shape and change shape color on mouseover
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-26-2012, 05:12 PM
  5. Replies: 0
    Last Post: 11-30-2012, 01:29 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