Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Vbanewbie101

    Convert vb to vba

    If myrange.Style = "Heading 2" Then is where the error occurrs. The error message reads "Overload resolution failed because no Public '=' can be called with these arguments: 'Public Shared Operator =(a As String, b As String) As Boolean': Argument matching parameter 'a' cannot...
  2. Vbanewbie101

    Convert vb to vba

    The following code works in VB but not in VBA. A word document is opened the code looks for a string of text. If it finds it, it checks to see if the style is Heading 2. VBA gives me an overload error. Thanks Dim mheading2 mheading2 = 0 ' Set myRange = ActiveDocument.Content ' With...

Part and Inventory Search

Back
Top