View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jim in Fort Worth Texas Jim in Fort Worth Texas is offline
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