Results 1 to 8 of 8

Referencing filename in a saveas function

Threaded View

  1. #1
    Registered User
    Join Date
    10-01-2007
    Posts
    9

    Referencing filename in a saveas function

    I have several hundred spreadsheets that have some minor editing (removing columns and such) that is the same across the board. I had no problems getting a macro setup to do this. Then I thought rather than saving every file manually with "Revised" after the filename, I could build this into the macro.

    The problem is, I don't know how to get the filename in as a variable. Everything I have seen has referenced the file name as a static, or worse yet, user inputtable value. Yikes!

    While we are on the subject, what is needed to get the macro sets up so it opens a file, runs through the steps, saves, closes, and moves on to the next in the directory?
    Last edited by VBA Noob; 10-01-2007 at 11:04 AM.

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