Try this code then. It will not run automatically when you eg add or hide
slides but it will remove "old" numbers and re number the non hidden slides
and can be run whenever you change the presentation
Sub hiddennums()
Dim osld As Slide
Dim i As Integer
Dim otxtbox As Shape
'Remove old numbers
For Each osld In ActivePresentation.Slides
For i = osld.Shapes.Count To 1 Step -1
If osld.Shapes(i).Tags("Number") = "yep" Then _
osld.Shapes(i).Delete
Next i
Next osld
'Number non hidden slides only
For Each osld In ActivePresentation.Slides
If osld.SlideShowTransition.Hidden = False Then
i = i + 1
Set otxtbox = osld.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 500,
20, 20)
With otxtbox
.TextFrame.TextRange = CStr(i)
.Tags.Add "Number", "yep"
End With
End If
Next osld
set otxtbox = Nothing
End Sub
To make this run as you want completely automatically is possible but it
would reaally be best as an add in and you would need to understand events in
vba code

Signature
Amazing PPT Hints, Tips and Tutorials
http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk
> I'm having trouble getting the displayed slide numbers in my presentation to
> skip hidden slides. Using Office 2003 with an XP system.
[quoted text clipped - 31 lines]
>
> Thanks for your help!
JoAnn - 25 Mar 2008 19:23 GMT
Thanks ... that works!
Is there anyway I can control the font color & size ? What would I need to
add & where?

Signature
JoAnn
> Try this code then. It will not run automatically when you eg add or hide
> slides but it will remove "old" numbers and re number the non hidden slides
[quoted text clipped - 65 lines]
> >
> > Thanks for your help!
John Wilson - 25 Mar 2008 19:32 GMT
Sub hiddennums()
Dim osld As Slide
Dim oshp As Shape
Dim i As Integer
Dim otxtbox As Shape
'Remove old numbers
For Each osld In ActivePresentation.Slides
For i = osld.Shapes.Count To 1 Step -1
If osld.Shapes(i).Tags("Number") = "yep" Then _
osld.Shapes(i).Delete
Next i
Next osld
'Number non hidden slides only
For Each osld In ActivePresentation.Slides
If osld.SlideShowTransition.Hidden = False Then
i = i + 1
Set otxtbox = osld.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 500,
20, 20)
With otxtbox.TextFrame.TextRange
.Text = CStr(i)
'change values to suit
.Font.Color.RGB = RGB(100, 20, 20)
.Font.Size = 10
.Font.Name = "Arial"
End With
otxtbox.Tags.Add "Number", "yep"
End If
Next osld
End Sub

Signature
Amazing PPT Hints, Tips and Tutorials
http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk
> Thanks ... that works!
>
[quoted text clipped - 70 lines]
> > >
> > > Thanks for your help!
JoAnn - 25 Mar 2008 19:42 GMT
Perfect!!! Thank you very much!

Signature
JoAnn
> Sub hiddennums()
> Dim osld As Slide
[quoted text clipped - 100 lines]
> > > >
> > > > Thanks for your help!