+ Reply to Thread
Results 1 to 42 of 42

Exporting

Hybrid View

  1. #1
    Forum Expert davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2010
    Posts
    1,884

    Re: Exporting

    The reason my code was creating a blank sheet was because in your sample workbook, you have capital Y and N in column F. Your instructions earlier said uncapitalized y and n. If you change the "y" to "Y" in the code, it will tranfer the data.
    Is your code running too slowly?
    Does your workbook or database have a bunch of duplicate pieces of data?
    Have a look at this article to learn the best ways to set up your projects.
    It will save both time and effort in the long run!


    Dave

  2. #2
    Registered User
    Join Date
    12-28-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    98

    Re: Exporting

    I see what you mean. the capital Y vs lowercase y, made all the difference. Thank you very much for pointing that out...I was not paying attention to that at all. I have a code set up that uses "y" in it and it never cared about case sensitivity before or at least i didnt notice it being case sensitive before.

    now i need to figure out how to get that now-not-blank sheet to create outside of the workbook.

  3. #3
    Registered User
    Join Date
    12-28-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    98

    Re: Exporting

    ok as wierd as this is I have combined the two codes to make a button that calls both subs. It creates the new sheet inside of the current workbook with the information i am looking for based on the "y" and "n" in column F, then it copies that page, err creates that page outside of the workbook. It works great, now i just need a way to do that without creating a copy inside the active workbook.

  4. #4
    Registered User
    Join Date
    12-28-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    98

    Re: Exporting

    is there any way to do the exporting one line at a time and have it export to a specific sheet for formatting purposes, instead of cutting and pasting?

    the original code i posted has the ability to post one active cell at a time, instead i would like to export one line at a time based on the F4 "y" vs "n". I would also like to know if it is possible to verify that an exported row, is not double exported to the same sheet.

    what they would like is a January, February, etc sheet in the same workbook that just has the data exported when needed and only the "y" not the "n". so I figure it would be easier to export one line at a time and ensure that the data is not double exported. Hope that makes sense?!?
    as an example i would just like to export (A4:C4, F4,I4:Q4) to a sheet named January, and have it fall into corresponding cells without the spaces in between them, so (A4:M4).

+ 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