+ Reply to Thread
Results 1 to 2 of 2

Save worksheet as workbook but with 'save as' feature

  1. #1
    Forum Contributor
    Join Date
    12-14-2012
    Location
    Perth
    MS-Off Ver
    Excel 2010
    Posts
    208

    Save worksheet as workbook but with 'save as' feature

    Hi guys,

    I have the following excel code that saves my worksheet as a pdf file and now I am trying to find a way to modify the code so it saves the worksheet not as a pdf file but as another excel workbook and also if possible, could you please write a separate code to email the saved worksheet to other people?

    - is it possible to add the feature to save the workbook manually so I can choose the location where I want to save the file?

    - I believe the code for 'page setup' can be removed? since I want to save the entire worksheet as workbook?

    Please Login or Register  to view this content.

    I'd also like to use the range "A1" as a save as filename destination in the code.

    Any help?

    Much appreciated in advance.

    Jin

  2. #2
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,784

    Re: Save worksheet as workbook but with 'save as' feature

    You could try

    Please Login or Register  to view this content.
    Instead of using "Sheets(1).Copy" you could use "ActiveSheet.Copy" i.e. the sheet you are working with at the moment.

    Alf

+ 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. Save the current worrkbook, save the sheet as .csv and close the workbook
    By SpeediWeb in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-10-2015, 06:50 AM
  2. [SOLVED] Multiple workbooks into one workbook - asked to save or not save each workbook step remove
    By Benji Jeff in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-20-2014, 09:54 PM
  3. [SOLVED] save open worksheet to file and include date of save
    By shaz0503 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-12-2014, 08:50 AM
  4. Make Workbook Read Only and not allowed to Save and Save As
    By raw_geek in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-30-2012, 10:37 AM
  5. Incremental save. Save just one worksheet of a workbook?
    By dylanemcgregor in forum Excel General
    Replies: 2
    Last Post: 09-09-2009, 05:19 PM
  6. Replies: 3
    Last Post: 06-27-2005, 01:05 AM
  7. [SOLVED] Worksheet Buttons (Save, Save As, Cut, Paste, etc.) Not Working
    By SuzieQ12345 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-21-2005, 11:06 AM

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