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 John Tel 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: imarg
  • Order by date
  1. imarg

    Macro to print to MDI From Outlook

    One More Thing... The objItem.PrintOut FileName:="C:\test.mdi" portion of the code is the problem. objItem.PrintOut works by itself but produces a dialogue box, the FileName portion of it creates an error "Named Argument Not Found" Thanks Imarg
  2. imarg

    Macro to print to MDI From Outlook

    Hi everyone, I am trying to build an outlook macro that will take a selected message and print it to a specific Microsoft Office Document Image Writer file on a users computer I have gotten as far getting the default printer changed to image writer, and to printout. The problem is that I...
  3. imarg

    Find a string in an HTML file

    Hi tsuji, It seems to work for single characters, but for some reason it refuses to find any actual strings in my text documents... which is strange.
  4. imarg

    Find a string in an HTML file

    Hi everyone... I am completely stuck on this and cannot find a solution that works anywhere. I am looking for a way to open a locally saved html file, and get it to look for a particular string and then if it finds that string then do something else with it.... Does anyone know any code that...
  5. imarg

    Find a string in an html file

    I am doing this using a notepad editor --> as this is actually a vb script. And do not have access to the references... any other way of getting this to work?
  6. imarg

    Find a string in an html file

    Thanks Golom, this looks like it should work... but when I try to run it, I am told that the FileSystemObject class is not defined... how would I prevent this. Thanks
  7. imarg

    Find a string in an html file

    Hi everyone... I am completely stuck on this and cannot find a solution that works anywhere. I am looking for a way to open a locally saved html file, and get it to look for a particular string and then if it finds that string then do something else with it.... Does anyone know any code that...
  8. imarg

    Linking to PDF

    Thanks Peter, Your suggestion did not work directly in word, as word didn't know it had to open the file in internet explorer and still just opened it in reader. What I did was create a vbs script that does do the trick using the code below. Dim shell Dim iepath Dim location Dim Page...
  9. imarg

    Linking to PDF

    Thanks Gerry, This code here is supposed to be able to do the trick anobject.LinkExecute[DocGoTo"c:/imarg/document.pdf",5)] This is supposed to work but when the VB code runs, it says that an object is required, and I can't figure out what kind of object its asking for.
  10. imarg

    Linking to PDF

    Hi again, The "#page=n" appendix would work if the pdf document I was trying to link to was on a internet/intranet server, but due to confidentiality reasons it is being kept on the local LAN, so that command can't work. The document is extremely long, and only a few sections need to be linked...
  11. imarg

    Linking to PDF

    Hi everyone, I have been trying to come up with a way to create a link from word to a specific page inside a pdf document. I know that for a document thats on a web server you can just append "#page=n" to the end of the address, but I need to do this with locally stored documents. I know this...
  12. imarg

    MS Office Script

    First off let me preface that this was done long before I joined the department, I am just doing some update work. But maybe calling it format isn't the right word. What it really applies to is Word options... ie. a specific way to write Author Name, Initials. Default save directories, things...
  13. imarg

    MS Office Script

    Thanks folks... I think I may have a solution... Checking for the existance of C:\Documents and Settings\USER\Application Data\Microsoft\Office Since it appears that doesnt exist until after the first time the program is run. Cheers
  14. imarg

    MS Office Script

    Tony is right in his explanation. First time does mean the first time a user ever logs onto a workstation. The user name is just one of the things that is changed. We also change the user's default save folder, and several other settings. The biggest reason for us doing this is because there...
  15. imarg

    MS Office Script

    One more thing, the script works perfectly 99% of time, but whenever a user uses his logon on a computer for the first time it doesn't.
  16. imarg

    MS Office Script

    Here is the main part of the code Set objSysInfo = CreateObject("ADSystemInfo") strUser = objSysInfo.UserName Set objUser = GetObject("LDAP://" & strUser) Set objWord = CreateObject("Word.Application") objWord.UserName = objUser.givenName & " " & objUser.SN objWord.UserInitials =...
  17. imarg

    MS Office Script

    When the user logs in, the script activates office, inserts some default settings for the user (ie. Author name, sets a default save folder etc..), then closes word. However if the user logs in for the first time, the script opens office, but can't proceed, because office is setting itself...
  18. imarg

    MS Office Script

    Hi everyone, My department has a start up script that runs every time a user logs onto a computer that automatically sets various settings for Microsoft Office 2003 applications. The problem is that when a user logs onto a specific computer for the first time the script does not run properly...

Part and Inventory Search

Back
Top