+ Reply to Thread
Results 1 to 2 of 2

excel vba- hilite text

  1. #1
    Registered User
    Join Date
    07-22-2014
    Location
    phoenix,az
    MS-Off Ver
    2010
    Posts
    3

    excel vba- hilite text

    Hello, I found this code but for some reason, it isn't working. I am using excel 2010. The following lines are showing error. How do I make changes to get this code working? here are the error lines:

    myPDFPageHiliteObj.Add(0, 32767)

    acroAppObj.Hide()

    wordToHilite.Add(iword, 1)



    THIS is the ENTIRE code
    Please Login or Register  to view this content.
    Last edited by Leith Ross; 07-25-2014 at 12:14 AM. Reason: Added Code Tags

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: excel vba- hilite text

    Use the Set keyword to define the objects.

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Excel Macro to search a pdf and hilite or add comments to text strings
    By jaimegranado in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-23-2014, 10:15 PM
  2. HiLite Different Values
    By Mister T in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-22-2012, 06:47 AM
  3. [SOLVED] Replacing hilite color
    By Tony Vella in forum Excel General
    Replies: 2
    Last Post: 08-11-2006, 11:40 AM
  4. conditional formatting - to hilite a row
    By Avaya in forum Excel General
    Replies: 2
    Last Post: 07-28-2006, 08:35 AM
  5. cond. format for hilite every 200 lines
    By nastech in forum Excel General
    Replies: 3
    Last Post: 02-03-2006, 07:50 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1