Select worksheet on open macro

haydnc

New Member
Joined
Apr 16, 2002
Messages
10
Hi
As I had no response to the last call for help, am trying a different tack. Am now trying to build a macro that will open an Excel workbook with 3 worksheets on a particular worksheet - "Presentation", select an object, double-click the object so that it opens in Powerpoint Slideshow? (I have copied and paste-linked all the powerpoint slides into my sheet so that it will do this).

What I have so far is :
Sub Auto_Open()
Sheets("Presentation").Select
ActiveSheet.Shapes("Object 22").Select
Selection.Verb
End Sub

The object is being selected but I can't get it to doubleclick not open in SlideView - this code is opening it in Normal view
Very grateful for any assistance offered.
This message was edited by haydnc on 2002-04-25 21:57
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Why not use automation to run your slide show

eg.
<pre/>
Sub runPowerPointPresentation()
Dim ppApp As PowerPoint.Presentation

Set ppApp = GetObject("C:My DocumentspptPresentation.ppt")

ppApp.SlideShowSettings.Run

End Sub

'Not tested !

</pre>
 
Upvote 0
Hi Ivan,
Have tried this but this method creates an even larger problem for me as I have to resolve the issue of how to call the two Excel worksheets separately when one of them is already open - as per my original unanswered request for assistance. Having everything in the one Excel worksheet does at least overcome the issue!
 
Upvote 0

Forum statistics

Threads
1,214,584
Messages
6,120,385
Members
448,956
Latest member
JPav

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top