+ Reply to Thread
Results 1 to 5 of 5

VBA Create open & then save as excel file in folder

  1. #1
    Registered User
    Join Date
    09-26-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    76

    VBA Create open & then save as excel file in folder

    I am trying to create folder then open it & then save as excel file using below code, but enable to save excel file in folder

    Please Login or Register  to view this content.
    Thanks in advance
    Sagar
    Sagar
    Arise awake & stop not till d goal reached

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: VBA Create open & then save as excel file in folder

    explain better, please, attach your file.
    Why do you open explorer ?
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    09-26-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    76

    Re: VBA Create open & then save as excel file in folder

    Hi, Patel

    Simply i would like to create new folder with range (specified in code) & saveAs excel file in that folder.

    sample workbook attached for reference.

    Regards
    Sagar
    Attached Files Attached Files
    Last edited by sagar007; 06-20-2013 at 03:19 AM.

  4. #4
    Registered User
    Join Date
    04-17-2013
    Location
    Bucuresti
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: VBA Create open & then save as excel file in folder

    Hi,

    NewBook.SaveAs (FilePath & "\" & FileName)

    Ovidiu

  5. #5
    Registered User
    Join Date
    09-26-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    76

    Re: VBA Create open & then save as excel file in folder

    Hi ovidiu

    Working perfect
    Thank you so much
    Reputation added

    Sagar

+ 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