PC Review


Reply
Thread Tools Rate Thread

How can I use Shapes in 2007?

 
 
nkat
Guest
Posts: n/a
 
      10th Nov 2008
In my 2003 excel macro sheet I used:
ActiveSheet.Shapes("Rectangle 23").Select
Selection.ShapeRange.ZOrder msoBringToFront
ActiveSheet.Shapes("Rectangle 24").Select
Selection.ShapeRange.ZOrder msoBringToFront
In 2007 these actions doesn't work. even as I record the action I don't see
them in 2007.
I like to hide some text to put a rectangle in front.

 
Reply With Quote
 
 
 
 
Barb Reinhardt
Guest
Posts: n/a
 
      10th Nov 2008
IIRC, the shapes code has changed a lot in 2007. I don't have it available,
so can't test right now. Maybe someone else can assist.

I would tweak it for 2003 though. This should get the job done in 2003.

ActiveSheet.Shapes("Rectangle 23").ShapeRange.ZOrder msoBringToFront
ActiveSheet.Shapes("Rectangle 24").ShapeRange.ZOrder msoBringToFront
--
HTH,
Barb Reinhardt


"nkat" wrote:

> In my 2003 excel macro sheet I used:
> ActiveSheet.Shapes("Rectangle 23").Select
> Selection.ShapeRange.ZOrder msoBringToFront
> ActiveSheet.Shapes("Rectangle 24").Select
> Selection.ShapeRange.ZOrder msoBringToFront
> In 2007 these actions doesn't work. even as I record the action I don't see
> them in 2007.
> I like to hide some text to put a rectangle in front.
>

 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      10th Nov 2008
It's actually more logical IMO in 2007

With ActiveSheet

.Shapes("Rectangle 23").ZOrder msoBringToFront
.Shapes("Rectangle 24").ZOrder msoBringToFront
End With


--
__________________________________
HTH

Bob

"nkat" <(E-Mail Removed)> wrote in message
news:90E8CA9D-7FB6-4D34-A23B-(E-Mail Removed)...
> In my 2003 excel macro sheet I used:
> ActiveSheet.Shapes("Rectangle 23").Select
> Selection.ShapeRange.ZOrder msoBringToFront
> ActiveSheet.Shapes("Rectangle 24").Select
> Selection.ShapeRange.ZOrder msoBringToFront
> In 2007 these actions doesn't work. even as I record the action I don't
> see
> them in 2007.
> I like to hide some text to put a rectangle in front.
>



 
Reply With Quote
 
nkat
Guest
Posts: n/a
 
      10th Nov 2008
When I use :

''Sheets("SCORECARD").Select
With ActiveSheet

.Shapes("Rectangle 23").ZOrder msoBringToFront
.Shapes("Rectangle 24").ZOrder msoBringToFront
End With

Nothing is changing.



"Bob Phillips" wrote:

> It's actually more logical IMO in 2007
>
> With ActiveSheet
>
> .Shapes("Rectangle 23").ZOrder msoBringToFront
> .Shapes("Rectangle 24").ZOrder msoBringToFront
> End With
>
>
> --
> __________________________________
> HTH
>
> Bob
>
> "nkat" <(E-Mail Removed)> wrote in message
> news:90E8CA9D-7FB6-4D34-A23B-(E-Mail Removed)...
> > In my 2003 excel macro sheet I used:
> > ActiveSheet.Shapes("Rectangle 23").Select
> > Selection.ShapeRange.ZOrder msoBringToFront
> > ActiveSheet.Shapes("Rectangle 24").Select
> > Selection.ShapeRange.ZOrder msoBringToFront
> > In 2007 these actions doesn't work. even as I record the action I don't
> > see
> > them in 2007.
> > I like to hide some text to put a rectangle in front.
> >

>
>
>

 
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
Grouping Shapes in 2007 Brian Microsoft Excel Programming 3 27th Aug 2009 03:09 PM
Shapes on 2007 Spreadsheets BillCPA Microsoft Excel Misc 5 12th Mar 2009 09:21 PM
default shapes in excel 2007 already Microsoft Excel Discussion 2 4th Nov 2008 11:26 AM
Deleting shapes in 2007 S Johnson Microsoft Powerpoint 0 6th Aug 2008 05:03 PM
Shapes in 2007 from 2003 WayneR Microsoft Excel Misc 0 23rd May 2008 08:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:49 PM.