Consulting

Results 1 to 3 of 3

Thread: file rename in vba

  1. #1
    VBAX Regular
    Joined
    Jun 2007
    Posts
    10
    Location

    file rename in vba

    I have a file that gets created. Onces it's created I need the file name to changed in vba.
    Any suggestions would be appreciated.
    Thx

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Do you want to rename an activeworkbook, if so then use Workbooks.SaveAs.

    If you want to rename a file on the HDD, look at Name in help.
    Last edited by Bob Phillips; 10-22-2007 at 01:56 PM.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Regular
    Joined
    Jun 2007
    Posts
    10
    Location
    file in HDD thx , I looked up Name and that's what I needed

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •