+ Reply to Thread
Results 1 to 4 of 4

Save As with variable file name

  1. #1
    Registered User
    Join Date
    01-12-2012
    Location
    Dublin
    MS-Off Ver
    Excel 2010
    Posts
    50

    Save As with variable file name

    Hi,

    I cant seem to save my .xlsm file using the below code. Can anyone see why?

    Please Login or Register  to view this content.
    Cheers,
    David

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Save As with variable file name

    Does range J14 have the file extension in it already?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    01-12-2012
    Location
    Dublin
    MS-Off Ver
    Excel 2010
    Posts
    50

    Re: Save As with variable file name

    arlu1201,

    Thanks for your response and please excuse my untimely manner of replying. The cell includes a date in the format xx_xx_xxxx.

  4. #4
    Registered User
    Join Date
    03-29-2013
    Location
    Michigan
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: Save As with variable file name

    Hi,
    I believe the following code should work:
    Please Login or Register  to view this content.
    Cheers,
    pllvba
    Last edited by pllvba; 03-30-2013 at 01:34 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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