+ Reply to Thread
Results 1 to 11 of 11

Save\export specific worksheet error

  1. #1
    Forum Contributor
    Join Date
    12-02-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    209

    Save\export specific worksheet error

    Hi guys,

    I am trying to run a macro that will export the 'Results' WS & ask the user where he/she wants the .xls to be saved, though when I click 'Save' nothing happens.

    In additons in the save as part it has the WB's name(and full extention) is there a way to make this blank or to have something in it? I.e the WS's name?

    Thanks in advance

    Please Login or Register  to view this content.
    Last edited by SarahPintal; 01-23-2010 at 11:07 AM.

  2. #2
    Registered User
    Join Date
    01-23-2010
    Location
    jordan
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Save\export specific worksheet error

    Thx very much
    put coud you pls tell me how to specifi path ???

  3. #3
    Forum Contributor
    Join Date
    12-02-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    209

    Re: Save\export specific worksheet error

    I'm asking for assistance on this one Monther.., - i think you may have posted in the wrong thread? either that or I dont understand your question,


  4. #4
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Save\export specific worksheet error

    hi SarahPintal
    Please Login or Register  to view this content.
    This will save the active workbook to another folder with the optin to rename it
    but do you want to create a csv of sheet "Results" or a new workbook with the results sheet?
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  5. #5
    Forum Contributor
    Join Date
    12-02-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    209

    Re: Save\export specific worksheet error

    Hi Pike,

    Happy for the Results WS to be saved as a CSV.

    it looks like the code you provided doesnt associate itself to the Results worksheet also.

  6. #6
    Forum Contributor
    Join Date
    12-02-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    209

    Re: Save\export specific worksheet error

    Pike,

    Looks like this works:

    Please Login or Register  to view this content.
    though in the save field it has ""false.csv""'... is there a way to have the sheets name (results) in there instead?

    thanks


    End Sub
    Last edited by SarahPintal; 01-23-2010 at 05:44 AM. Reason: wrong code format

  7. #7
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Save\export specific worksheet error

    sorry watching back to the future three

    arrrr.. this is some old code that ask for file name then folder to save the active worksheet to
    Please Login or Register  to view this content.
    with the csv you just can save and xls as csv
    but we can do other stuff to create on and write to it?

    marty michael fox is a laugh
    which way would you like to go?

  8. #8
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Save\export specific worksheet error

    chopped down
    Please Login or Register  to view this content.
    Last edited by pike; 01-23-2010 at 07:06 AM. Reason: removed Saved = true

  9. #9
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Save\export specific worksheet error

    or csv
    Please Login or Register  to view this content.
    Last edited by pike; 01-23-2010 at 07:07 AM. Reason: removed Saved = True

  10. #10
    Forum Contributor
    Join Date
    12-02-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    209

    Re: Save\export specific worksheet error

    Thanks Pike, much appreciated,

    Sorry for the delay in my response.

    and i agree Mary Mcfly is a laugh..... "no body calls me yella!"

  11. #11
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Save\export specific worksheet error

    your welcome .No need to be sorry.
    you can change
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.

+ 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