LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
epak
 
Posts: n/a
Default VB script in Excel object in Powerpoint (Urgent)


I also tried doing this..



Code:
--------------------

Sub bye()

With ActivePresentation.Slides(1).Shapes(1).OLEFormat.O bject.Application
.Workbooks(1).Worksheets(1).Range("B2:C6").Value = "AB"
End With
With ActivePresentation.Slides(1).Shapes("Object 11568").OLEFormat.Object.Application
.Workbooks(1).Worksheets(1).Range("B2:C6").Value = "AB"
End With
Print ActivePresentation.Slides(1).Shapes(1).Name

End Sub

--------------------




but it doesn't seem to work..

and why is it that i'm not able to run this macro in design mode? (in
the run macro window, the "run" button is greyed out. only the cancel,
edit, and delete buttons are active.. why is this?)

anybody? :(


--
epak
------------------------------------------------------------------------
epak's Profile: http://www.excelforum.com/member.php...o&userid=32716
View this thread: http://www.excelforum.com/showthread...hreadid=525485

 
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
Combining Excel with Powerpoint Timmy Mac1 Excel Discussion (Misc queries) 3 February 3rd 06 01:25 PM
TRYING TO SET UP EXCEL SPREADSHEET ON MY COMPUTER MEGTOM New Users to Excel 5 October 27th 05 03:06 AM
Copy and Paste from Excel to powerpoint the pix is Truncated Alicia Excel Discussion (Misc queries) 0 March 4th 05 02:47 AM
pivotcell object to excel 2000 Kellyc Excel Discussion (Misc queries) 0 December 1st 04 03:45 PM
Excel and Powerpoint freekrill Excel Discussion (Misc queries) 0 November 26th 04 01:50 AM


All times are GMT +1. The time now is 03:28 PM.

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

About Us

"It's about Microsoft Excel"