+ Reply to Thread
Results 1 to 4 of 4

VB Coding. Who's got the Knowledge?

  1. #1
    Registered User
    Join Date
    09-20-2006
    Posts
    47

    VB Coding. Who's got the Knowledge?

    Hi all,

    I wonder if anyone can help me.

    I am no good at coding on VB and need to set up a piece of code. I need the code to make a macro which will look up .xls files in a certain area of my documents, then update the links of that file, save the file, close the file and then move on to the next subsequent .xls file.

    I have something shown below but it is not working.

    Sub Auto_Update

    With Application.FielSearch
    .NewSearch
    .Look In = "M:\forecasts 2007\Me\
    .Search Sub Folders = False
    .FileName = ".xls"

    workbooks.open
    Activeworkbook.Save
    ActiveWindow.Close

    Any suggestions??

    Cheers

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    see your other post

    Carim

  3. #3
    Registered User
    Join Date
    09-20-2006
    Posts
    47
    O yes sorry,

    I meant Application.FileSearch

    Cheers

  4. #4
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    answer again in your other post ...

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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