Results 1 to 4 of 4

Thread: Excel PrintQuality Property Fails

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2017
    Posts
    858

    Excel PrintQuality Property Fails

    Just noticed this on a program I rarely run since upgrade to Windows 10. (I'm running Excel from VB5).

    Here's a link to others who seem to have the same problem

    https://www.mrexcel.com/board/thread...ng-vba.632537/

    Remming out the PrintQuality property solves the Error (property no longer exists) and maybe this property is no longer needed?

    I haven't done a workaround yet (e.g. Resume or Resume Next) but looking for a simpler solution within the Excel object model if available.

  2. #2
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: Excel PrintQuality Property Fails

    i have struck other issues with printer settings that only seem to occur on windows 10
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2017
    Posts
    858

    Re: Excel PrintQuality Property Fails

    westconn1:

    i have struck other issues with printer settings that only seem to occur on windows 10
    Little confused, do you mean "REM" ?

    The reason I posted the link is that it is dated 2012 (assume earlier than Win10) and issue encountered, so ASSUME something going on with Excel and Windows or an Excel Upgrade (which in my case has not knowingly occurred unless Win10 upgrade did it). Win-10 upgrade system IMHO is very lacking as forced, automatic (can be delayed only), and out of user control .

  4. #4
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: Excel PrintQuality Property Fails

    changing some printer settings, commonly duplex, requires the use of APIs as excel provides no support for setting duplex, i also struck an issue with orientation, that had cropped up recently
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width