User Profile

Collapse

Profile Sidebar

Collapse
ahynes
ahynes
Last Activity: Jan 24 '07, 10:16 AM
Joined: Jan 22 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • OK, I've got the code to Work in VBA in MS Word, now how do i get it to run without requiring Word? i.e. so it runs as astnadalone EXE or BAT or anything like that?

    Thanks for any help

    Alan

    Code:
    Private Sub CommandButton1_Click()
    With Dialogs(wdDialogFileOpen)
        .Name = "*.txt"
        .Show
        End With
    'Edit the additional text to go at the START
    ...
    See more | Go to post

    Leave a comment:


  • I need to do exactly the same thing in Windows XP Environment
    See more | Go to post

    Leave a comment:


  • VBScript to insert text into text file and save as new filename

    HI folks,

    I need a script to open a .txt file, insert pre-defined text into the start and end of the file, then close teh saved file with a .nc extension.

    I'd like to have this so I can run it from my desktop.

    I tried doing it in Word using macros and the FileDialog thingy to bring up dialogs for the user to select his files but it would not save the modified file for me and I couldn;t figure how to get...
    See more | Go to post

  • ahynes
    started a topic Script to insert text into text file

    Script to insert text into text file

    HI folks,

    I'm a chem engineer with no VB programming knowledge (as you'll see from my question!)

    I want a script to open a .txt file, insert pre-defined text into the start and end of the file, then close teh saved file with a .nc extension.

    I'd like to have this as a batch file or exe file which i can installt o run from my users desktops.

    I tried doing it in Word using macros and the...
    See more | Go to post
No activity results to display
Show More
Working...