In article <a08a52ae-472b-41f8-9cf1-4b305390189f@e1g2000hsh.googlegroups.com>,
Miguel,
Try this instead:
Private Sub Test()
Dim num As Double
' You need to set a reference to the MS Excel object library
' using Tools, References:
Dim oSheet As Excel.Worksheet
' or do this instead:
' Dim oSheet as Object
num = 22
' change the following to the correct slide number and
' object name.
' Watch out for linebreak ... this should all be one line:
Set oSheet = ActivePresentation.Slides(4).Shapes("Object
5").OLEFormat.Object.Worksheets(1)
With oSheet
.Range("C8").Value = num
End With
End Sub
Iamito wrote:
> Hi
>
[quoted text clipped - 18 lines]
>
> Any help would be greatly appreciated.
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================