Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 5th, 2005, 07:53 AM
Authorized User
 
Join Date: Sep 2004
Location: stuttgart, , Germany.
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to highlight in Powerpoint

Hi all,

I want to highlight the found words in PowerPoint by using VB. Could anybody give me some ideas or examples?

Thanks in advance,
Haiying

Reply With Quote
  #2 (permalink)  
Old April 5th, 2005, 11:31 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

What do you mean by "the found words?"


mmcdonal
Reply With Quote
  #3 (permalink)  
Old April 6th, 2005, 02:22 AM
Authorized User
 
Join Date: Sep 2004
Location: stuttgart, , Germany.
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

For example, I want to find all the words "test" in the ppt file, after finding them, all the "test" should be highlighted in this file.

Thanks,
Haiying

Reply With Quote
  #4 (permalink)  
Old April 6th, 2005, 06:24 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

What sort of mechanism would you be using to find the word "test" in your ppt? Is that an input box, or the Find feature? And where would you invke it? At design time or run time?

mmcdonal
Reply With Quote
  #5 (permalink)  
Old April 6th, 2005, 06:59 AM
Authorized User
 
Join Date: Sep 2004
Location: stuttgart, , Germany.
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I use an input box to input the words which will be searched in a ppt file. when I click the START button. The ppt file should be open and the search results should be highlight automatically. Now I only can change the font color of the search results. I do not know if it is possible to highlight the search results in ppt file.

Many thanks,
Haiying

Reply With Quote
  #6 (permalink)  
Old April 6th, 2005, 07:11 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

In your code to change the font color, you are probbly using ForeColor. Try using BackColor to highlight.

mmcdonal
Reply With Quote
  #7 (permalink)  
Old April 6th, 2005, 08:04 AM
Authorized User
 
Join Date: Sep 2004
Location: stuttgart, , Germany.
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I used .Font.Color, I can not find BackColor property in vb for ppt. Could you please give more details?
many thanks
Haiying

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Powerpoint in HTML anukagni HTML Code Clinic 2 November 22nd, 2007 08:40 AM
Download to powerpoint vgvkarthik ASP.NET 1.0 and 1.1 Basics 1 May 8th, 2007 06:54 AM
powerpoint and c# dotnetprogrammer VS.NET 2002/2003 0 October 17th, 2005 05:06 AM
Powerpoint msgbox Xarg@xog Forum and Wrox.com Feedback 1 May 26th, 2005 05:55 AM



All times are GMT -4. The time now is 02:18 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.