+ Reply to Thread
Results 1 to 3 of 3

xlsb file not saving correctly if you print it

  1. #1
    Registered User
    Join Date
    08-20-2015
    Location
    Chattanooga, TN
    MS-Off Ver
    2010
    Posts
    11

    xlsb file not saving correctly if you print it

    I have been using the attached workbook for a couple of years without any issues. Then IT started switching out desktops and changing us over to Office 2016 and Windows 10. Since then, if you select yes when asked about printing, it does not save the form, it saves the second tab "data". I have been through all pages of the VBA, but I cannot find the problem. Is this just a bug from switching systems? Or has someone changed something and I am just missing it? PW available upon request if needed.
    Attached Files Attached Files

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: xlsb file not saving correctly if you print it

    Quote Originally Posted by marsh916 View Post
    if you select yes when asked about printing
    When I run macro XferData, the form is saved correctly. The version of Excel or OS wouldn't change this. I checked out your code and I am not sure this is the problem but it is a poor coding practice:

    Please Login or Register  to view this content.
    Do not depend on what sheet is active to take action. If you want to copy the the form use ws_Form instead of ActiveSheet.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    08-20-2015
    Location
    Chattanooga, TN
    MS-Off Ver
    2010
    Posts
    11

    Re: xlsb file not saving correctly if you print it

    Jeff,
    That fixed the problem! I have no idea why it worked for so long, then quit. Thank you for the advice and assistance. Reputation has been added!!!

+ 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. [SOLVED] Saving file seems to combine saving file with Personal.xlsb
    By taylorsm in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-24-2017, 04:48 PM
  2. Replies: 0
    Last Post: 06-15-2016, 06:24 PM
  3. Replies: 0
    Last Post: 06-12-2015, 07:24 AM
  4. Replies: 0
    Last Post: 01-15-2015, 05:53 AM
  5. Macro to print before saving file
    By cispus78 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-13-2008, 11:49 AM
  6. [SOLVED] Ranges, adding a column to a named print range then saving the file
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-26-2006, 08:45 PM
  7. Saving print area as file
    By TexMas in forum Excel General
    Replies: 2
    Last Post: 03-31-2005, 03:06 PM

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