+ Reply to Thread
Results 1 to 5 of 5

Saving file issue

Hybrid View

  1. #1
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Saving file issue

    Maybe try:
    ActiveWorkbook.SaveAs Filename:= _ 
            iif(dir("Q:\") <> "","Q","S") & ":\Logistics\Team Logistics\PURA upload sheet\PURA upload sheet.xls", _ 
            FileFormat:=xlNormal, Password:="", WriteResPassword:="", _ 
            ReadOnlyRecommended:=False, CreateBackup:=False
    not tested though.

  2. #2
    Forum Contributor
    Join Date
    10-28-2003
    Location
    Happyville, USA
    MS-Off Ver
    365
    Posts
    300

    Re: Saving file issue

    Thank you so much for your quick reply. I'll test it when I get out of my meeting.

    One question: Should the first line of the code start with "iif"? It looks like a typo but it could also be something that I haven't tripped across yet.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Issue with automatically saving a file to a folder on my desktop
    By pcm034 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-01-2013, 01:39 PM
  2. Saving Issue
    By cmm5350 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-02-2012, 10:16 AM
  3. Creating a .txt file extracting information from a Excel file saving as .resx file
    By AbdallahHajbed in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-19-2012, 09:00 AM
  4. saving issue
    By sannndrad in forum Excel General
    Replies: 0
    Last Post: 11-24-2011, 05:06 AM
  5. Excel 2007 : format issue when saving the csv file
    By mls_newbee in forum Excel General
    Replies: 0
    Last Post: 09-22-2010, 12:20 PM

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