Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Automatically change autoshape color to that of another autoshape

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 141
Default Automatically change autoshape color to that of another autoshape

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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Automatically change autoshape color to that of another autosh

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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically put AutoShape in certain spots Lee Excel Discussion (Misc queries) 3 February 14th 08 01:48 AM
Change color of an autoshape Ly Excel Programming 5 September 29th 07 04:46 PM
Change color of Autoshape in chart John Michl Excel Programming 3 May 12th 07 03:14 AM
How do I change the color Excel Autoshape using VBA? jmtricker Excel Programming 2 February 6th 07 05:27 PM
Change AutoShape Text Color in VBA? TheRobsterUK[_2_] Excel Programming 3 October 1st 05 01:35 AM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"