Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Seaching Ex cel for text styles

Using VSTO and .NET 3.5 how does one search an Excel Workbook text for a
specific style applied to it. In Word one would do the following:


Me.application.Selection.Find.Style = Me.document.Styles(searchStyleName)

Me.application.Selection.Find.Replacement.ClearFor matting()

Me.application.Selection.Find.Replacement.Style =
Me.document.Styles(searchStyleName)

With Me.application.Selection.Find

Reply
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
Detect text styles... emailceloftis Excel Programming 4 April 18th 09 05:13 PM
How do I add text box styles to a worksheet? Ed Excel Programming 4 February 27th 08 03:41 AM
How do I add text box styles to a worksheet? Ed Excel Discussion (Misc queries) 0 February 24th 08 12:07 AM
Excel Cell Styles - Quick Styles? Dean@DCF Excel Discussion (Misc queries) 0 November 15th 07 10:40 PM
Seaching across the top Ben H Excel Programming 4 February 16th 05 04:21 PM


All times are GMT +1. The time now is 08:31 PM.

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

About Us

"It's about Microsoft Excel"