+ Reply to Thread
Results 1 to 5 of 5

Excel File is not correctly manipulated into next Excel DOC.

  1. #1
    Registered User
    Join Date
    07-25-2016
    Location
    Ohio
    MS-Off Ver
    2010
    Posts
    4

    Excel File is not correctly manipulated into next Excel DOC.

    I am getting this master table just fine


    District Master File.png

    Then when I click generate emails and run the macro/code

    I get this

    Blank District File.png

    I changed the file names because I needed to make some minor heading changes. I change all the areas that I thought needed to be change but it seems like it is all jumbled up now. It was all working fine before I made these changes. This all starts in a form in access to call this function. Here is my code

    Please Login or Register  to view this content.
    Thanks for taking the time to go through this.

    Any help would be appreciated.
    Last edited by FDibbins; 07-25-2016 at 04:06 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Excel File is not correctly manipulated into next Excel DOC.

    Hi, welcome to the forum

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here


    I will add them for you - this time
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    07-25-2016
    Location
    Ohio
    MS-Off Ver
    2010
    Posts
    4

    Re: Excel File is not correctly manipulated into next Excel DOC.

    Thank you FDibbins

  4. #4
    Registered User
    Join Date
    07-25-2016
    Location
    Ohio
    MS-Off Ver
    2010
    Posts
    4

    Re: Excel File is not correctly manipulated into next Excel DOC.

    Ok, so I have compared a working version of this code and made the changes I thought need to be changed but it seems that the code correctly activates the proper window and is brought up. Then when it loops through the filtering it puts the wrong columns in non matching columns. From the code is that enough to see why this excel spreadsheet looks messed up? Can you see from the code what changes I need to make in order for this table to look correct? I am also going to add the document to this post in case it can't be seen up top. Any help would be appreciated.

    district 2.jpg
    Attached Images Attached Images

  5. #5
    Registered User
    Join Date
    07-25-2016
    Location
    Ohio
    MS-Off Ver
    2010
    Posts
    4

    Re: Excel File is not correctly manipulated into next Excel DOC.

    Ok so I did some more testing and have found that when I change the columns in the excel file, to the new wording and then change the corresponding table in access that is connected to the a table shell in excel it seems to mess up on me every time I run the code from the button on the excel page. Is there a way to get around this?

+ 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. Replies: 2
    Last Post: 10-10-2015, 01:09 PM
  2. Replies: 2
    Last Post: 05-21-2013, 12:45 PM
  3. Replies: 2
    Last Post: 11-28-2012, 05:43 PM
  4. Help with sending excel file not working correctly
    By mdupontm in forum Excel General
    Replies: 3
    Last Post: 02-09-2009, 01:20 PM
  5. Excel Not formatting a file correctly
    By thomaseaton in forum Excel General
    Replies: 0
    Last Post: 08-28-2008, 01:40 PM
  6. Excel 2003 will not open html file correctly
    By RichardS in forum Excel General
    Replies: 0
    Last Post: 06-07-2006, 04:20 AM
  7. Excel 2003 does not open html file correctly
    By rdshadden in forum Excel General
    Replies: 0
    Last Post: 06-07-2006, 01: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