PC Review


Reply
Thread Tools Rate Thread

Automatically change autoshape color to that of another autoshape

 
 
T-bone
Guest
Posts: n/a
 
      24th Oct 2008
Hi All

I have autoshapes (oval) in sheets 2-50, which changes color when you click
on them .
In sheet1 have a summary of sheets 2-50 (with 48 ovals)
I am trying to get the ovals in sheet1 to automatically change color to the
one selected in the corresponding sheet.

e.g. Sheet1 Oval1 = Sheet2 Oval1 (fill color)
Sheet1 Oval2 = Sheet3 Oval1 (fill Color)
and so on...

Can someone please help
T
 
Reply With Quote
 
 
 
 
GTVT06
Guest
Posts: n/a
 
      24th Oct 2008
Hello,
not sure if I fully understood your question, but I think this is what
you were trying to achieve?

Sub Test()
Dim n As Single
For n = 1 To Worksheets.Count
If Not Sheets(n).Name = ActiveSheet.Name Then
ActiveSheet.Shapes("Oval " & n -
1).Fill.ForeColor.SchemeColor = Worksheets(n).Shapes("Oval
1").Fill.ForeColor.SchemeColor
End If
Next n
End Sub

 
Reply With Quote
 
T-bone
Guest
Posts: n/a
 
      24th Oct 2008
Thanks for your response

i will just clarrfiy..

Oval1 in Worksheet1 need to automatically change to same color as Oval1 in
Worksheet2

i guess all the other crap i wrote is just distracting from the point

t


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Draw/Change Autoshape to custom autoshape for a comment Matthew Schwarz Microsoft Excel Discussion 0 11th Oct 2009 06:17 AM
Automatically Color Autoshape and Autoshape Naming Max Microsoft Excel Programming 2 9th Sep 2009 05:11 PM
Change color of an autoshape =?Utf-8?B?THk=?= Microsoft Excel Programming 5 29th Sep 2007 04:46 PM
Change color of Autoshape in chart John Michl Microsoft Excel Programming 3 12th May 2007 03:14 AM
Change AutoShape Text Color in VBA? TheRobsterUK Microsoft Excel Programming 3 1st Oct 2005 01:35 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:04 AM.