Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / October 2007

Tip: Looking for answers? Try searching our database.

Combo Box PowerPoint 2003

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mr.ChrisKelley@gmail.com - 07 Oct 2007 00:41 GMT
I'm using powerpoint to prototype for a HCI class and am having
difficulties working with combo boxes.  I've been working on this
problem for days and the internet doesn't provide many resources for
using VBA in powerpoint (not that I could find anyway).  The problems
I'm having is I want to have a couple of  combo boxes populate when
the presentation begins.  One is on the master slide and one on a
regular slide.  The problem I'm running into is I'm not sure if these
commands go into the module code, class code, or slide code.  I've
tried using some various code from pptfaq.com and a few other sites
but haven't found anything to work.  I am also having difficulties
defining the presentation in the module and then initiating a new
class.  Any help or links to websites that can provide a beginners
guide to VBA would be greatly appreciated.  I am familiar with VB, but
that only gets you so far in VBA.
I've tried the following code (among others):

Public WithEvents PPTEvent As Application

Dim myobject As New Class1
Sub StartEvents()
  Set myobject.appevent = Application
End Sub
Sub StopEvents()
  Set myobject.appevent = Nothing
End Sub

Thanks for the help.

CMK
Doug Robbins - Word MVP - 07 Oct 2007 20:59 GMT
See the article "Getting To Grips With VBA Basics In 15 Minutes" at:

http://www.word.mvps.org/FAQs/MacrosVBA/VBABasicsIn15Mins.htm

and other articles on that website, but I doubt that very much of it is
applicable to Powerpoint.  I have cross-posted this response to the
microsoft.public.powerpoint newsgroup where it might be more likely to come
to the attention of someone who can help you.

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> I'm using powerpoint to prototype for a HCI class and am having
> difficulties working with combo boxes.  I've been working on this
[quoted text clipped - 25 lines]
>
> CMK
Steve Rindsberg - 08 Oct 2007 04:34 GMT
> See the article "Getting To Grips With VBA Basics In 15 Minutes" at:
>
> http://www.word.mvps.org/FAQs/MacrosVBA/VBABasicsIn15Mins.htm
>
> and other articles on that website, but I doubt that very much of it is
> applicable to Powerpoint.  

Quite a bit of it, really. It's mostly about VBA; if you look at that part
rather than the Word-specific stuff (ActiveDocument, No.  ActivePresentation,
Si) it's good stuff.  Of course.  It's Bill Coan's. <g>

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com
================================================
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.