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 wOOdy-Soft 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: *

  • Users: monak
  • Content: Threads
  • Order by date
  1. monak

    Is there a GetLine function in VBA?

    I am trying to find equivalent so I can take lines from my ActiveDocument object and make a series of string comparisons?
  2. monak

    getting the file path of document dynamically

    I am running a macro through the normal.dot file. What I want to do is assign ActiveDocument.path to a variable. But when I do this I the error "Invalid Outside Procedure". What am I doing wrong? My code: path2file = ActiveDocument.path sfile = FreeFile Open path2file For Input...
  3. monak

    Converting Twips to Pixels

    How can I convert twips to pixels?
  4. monak

    Problems using ActiveDocument.Content.Find

    I am doing a string search within a open Word Document. I know string exist in the document but my comparison is telling me that it can not find it. Could someone shed some light as to what I could be doing wrong? Private Sub InsertSymbol(RedStrikeText) With ActiveDocument.Content.Find...
  5. monak

    Is there a way to parse a line?

    Using the Input# to get lines out of the file. Is there to parse the line itself so I can do a StrCmp on individual words in the line?
  6. monak

    How do you print variable values?

    I am having trouble testing what values I am getting in my variables. I know the command is "Print". I tried Print and just the variable but a error saying I need a object to use this command? How can I get my values to print?
  7. monak

    How do you use the Input# function?

    I am trying to figure out this function. I know this function grabs lines out of your file. Could someone give more details as to how this function works?
  8. monak

    Taking an .rtf document and inserting characters in it

    Hi , I need some help on creating a macro. This is my first time using VBA. What I am trying to is take a existing .rtf file and search through it and find any string that has a strikethrough and a redfont. Once I find it I want to insert the symbol [& &] around the string to indicate that the...

Part and Inventory Search

Back
Top