Results 1 to 7 of 7

Trying to change text in an autoshape but i get an error. Any ideas

Threaded View

Jats Trying to change text in an... 09-30-2013, 10:14 AM
ragulduy Re: Trying to change text in... 09-30-2013, 10:53 AM
Jats Re: Trying to change text in... 09-30-2013, 10:59 AM
MickG Re: Trying to change text in... 09-30-2013, 11:03 AM
ragulduy Re: Trying to change text in... 09-30-2013, 11:04 AM
Jats Re: Trying to change text in... 10-01-2013, 10:10 AM
Izandol Re: Trying to change text in... 10-01-2013, 10:56 AM
  1. #1
    Registered User
    Join Date
    01-17-2013
    Location
    england
    MS-Off Ver
    Excel 2003, 2007
    Posts
    3

    Trying to change text in an autoshape but i get an error. Any ideas

    Hi,I'm new to the forum. I am trying to change text in an autoshape in vba but i get an error. Any ideas. Code below

    [/Dim c
    c = Application.Caller

    With ActiveSheet.Shapes(c)
    .OLEFormat.Object.Characters.Text = "Form complete!"
    .Fill.ForeColor.SchemeColor = 17
    .Fill.Transparency = 0#
    .Line.Weight = 2#
    .Line.DashStyle = msoLineSolid
    .Line.Style = msoLineSingle
    .Line.Transparency = 0#
    .Line.Visible = msoTrue
    .Line.ForeColor.SchemeColor = 1
    End With\]
    Last edited by Jats; 09-30-2013 at 10:41 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Change Font Colour in Autoshape
    By Tellm in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-18-2010, 12:27 AM
  2. [SOLVED] How do I change the autoshape size from inches to cm
    By Francois in forum Excel General
    Replies: 2
    Last Post: 08-12-2006, 11:30 AM
  3. change autoshape by condition from a cell value
    By emil.roman@gmail.com in forum Excel General
    Replies: 7
    Last Post: 04-26-2006, 08:50 PM
  4. [SOLVED] How to change line spacing within an autoshape?
    By pjk1228 in forum Excel General
    Replies: 0
    Last Post: 01-31-2006, 02:30 PM
  5. Change AutoShape Text Color in VBA?
    By TheRobsterUK in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-30-2005, 08:35 PM

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