+ Reply to Thread
Results 1 to 6 of 6

Printform has stopped working..

  1. #1
    Registered User
    Join Date
    04-12-2020
    Location
    Cambridge England
    MS-Off Ver
    Office 2003
    Posts
    3

    Printform has stopped working..

    Hi,

    I've been writing vba code in a very amateur capacity for 25 years and have created various applications along the way. Some of these make use of the Printform tool to print out data displayed on a userform.

    However, whilst it appears to go through the motions (the little print dialogue box flashes up for a second or so) it has stopped printing them.

    There is nothing lurking in the print queue, and when I use the conventional print command to print out part of the spreadsheet, that works fine.

    I still use Excel 2003 (on Windows 10) as the newer version drove me insane, and everything else still seems to work fine. Restarting the PC did not solve matters.

    - Anyone have any ideas as to what the cause of this might be?

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,905

    Re: Printform has stopped working..

    Welcome to the forum.

    You have mistakenly told us your Windows version in the MS Office version field in your user profile - please go back and change this. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    04-12-2020
    Location
    Cambridge England
    MS-Off Ver
    Office 2003
    Posts
    3

    Re: Printform has stopped working..

    Oops - sorted..

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,905

    Re: Printform has stopped working..

    Can you post the section of code that relates to this? You are using an old version, and it may be that your version of Windows now won't understand the code you've used - maybe a Windows update has deprecated it.

  5. #5
    Registered User
    Join Date
    04-12-2020
    Location
    Cambridge England
    MS-Off Ver
    Office 2003
    Posts
    3

    Re: Printform has stopped working..

    This is a typical bit of code - the PrintForm method normally works fine without specifying the object,
    but even when I add that, it's still refusing to work..

    Please Login or Register  to view this content.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,905

    Re: Printform has stopped working..

    Administrative Note:

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then 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

    (Note: this change is not optional. As you are new here, I have added them for you this time.)

+ 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: 1
    Last Post: 08-30-2017, 02:32 AM
  2. Printform Not working
    By va123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-24-2017, 11:53 AM
  3. [SOLVED] VBA stopped working
    By tsakta13ole in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-02-2015, 06:17 AM
  4. ocde working in one windows login but stopped working in another.
    By rama1209 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-02-2011, 08:38 AM
  5. VBA stopped working!!
    By maxthebear in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-18-2009, 09:51 PM
  6. VBA Stopped Working!
    By SamuelT in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-16-2007, 11:12 AM
  7. It's stopped working
    By mikhailia in forum Excel Programming / VBA / Macros
    Replies: 32
    Last Post: 01-22-2007, 10:12 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