Visual Basic

Discussion in 'Software' started by kiran84, Sep 30, 2004.

  1. kiran84

    kiran84 Private E-2

    Hey there!
    I wanted to make a Visual basic program to open all the files in a directory (C:\CNS) - which will contain word files.

    I need these to be opened one by one,

    A macro to be run on them --> Save the changes in a new file --> delete the old file --> open the next file in the directory.
    I've written most of the program just need to know how i can open the next file in the directory continuosly until there are no files left!!

    Please help if you can
    tanx
     
  2. Kodo

    Kodo SNATCHSQUATCH

    You could probably manage what you're doing by looping through all the files in the File System Object.
     
  3. kiran84

    kiran84 Private E-2

    And how do i do that?
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds