+ Reply to Thread
Results 1 to 6 of 6

printing form - BackColor change

  1. #1
    Registered User
    Join Date
    11-30-2013
    Location
    Poland
    MS-Off Ver
    Excel 2013
    Posts
    54

    printing form - BackColor change

    Hi,
    I would like to be able to print form with all BackColor properties changed to while.

    I do not have any idea on how to go threw all controls on form and change backcolor.

    And after printing change them back again.

    Could someone advise me on this?

    Cris.

  2. #2
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: printing form - BackColor change

    You may use a loop:
    Please Login or Register  to view this content.
    Do you have to keep different colours for some controls to restore after the printing or will all be the same?
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

  3. #3
    Registered User
    Join Date
    11-30-2013
    Location
    Poland
    MS-Off Ver
    Excel 2013
    Posts
    54

    Re: printing form - BackColor change

    Thanks.

    No I do not need to restore different colours. I restore one standard colour.


    It prints ok. But caption of a frame is not printed for some reason. It is visible but not printed.

    Do you perhaps know why?

    Cris.

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: printing form - BackColor change

    Cris

    Printing a form doesn't always works out too well, why not transfer the data/images/whatever from the form to a sheet, format the sheet and then print it.
    If posting code please use code tags, see here.

  5. #5
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: printing form - BackColor change

    It has always been so - I do not know why. You must use a separate control such as a label

  6. #6
    Registered User
    Join Date
    11-30-2013
    Location
    Poland
    MS-Off Ver
    Excel 2013
    Posts
    54

    Re: printing form - BackColor change

    Quote Originally Posted by Norie View Post
    Cris

    Printing a form doesn't always works out too well, why not transfer the data/images/whatever from the form to a sheet, format the sheet and then print it.

    Generally I more would like to save form as pdf. But this moment I only know how to print form from within VBA. And since my project is really focused on other matters, for now printing form is enough.

    In some time I will be back with printing issues on this forum.

    Cris.

+ 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. change the backcolor based on excel value
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-08-2011, 04:55 AM
  2. Change TextBox BackColor
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-29-2010, 05:07 PM
  3. How to change OptionButton 'BackColor' using Macro
    By rmtschanz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-14-2009, 05:49 AM
  4. Commandbutton backcolor change on event
    By peter.thompson in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-17-2005, 06:15 AM
  5. [SOLVED] Change BackColor
    By Steve in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-11-2005, 11:05 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