+ Reply to Thread
Results 1 to 3 of 3

Using a UserForm to Display Playing Cards - problem with overlapping cards

  1. #1
    Registered User
    Join Date
    04-27-2013
    Location
    Bradenton,florida
    MS-Off Ver
    Excel 2007
    Posts
    40

    Using a UserForm to Display Playing Cards - problem with overlapping cards

    I have a userform with 52 labels each of which represents a playing card. Each label is a bit mapped picture of a playing card, which I obtained over the internet. All labels have identical properties. If I position one label partially over another, the label I moved does not always end up completely visible. I would like the label I move to always be completely visible (on top). I have VBA code to position the "cards" as needed.

    Thank you
    JoeBBB

  2. #2
    Valued Forum Contributor Maudibe's Avatar
    Join Date
    12-21-2016
    Location
    USA
    MS-Off Ver
    2010-2013
    Posts
    326

    Re: Using a UserForm to Display Playing Cards - problem with overlapping cards

    Try

    Me.Label1.ZOrder 0

    Wher label1 is the label to move to the front

  3. #3
    Registered User
    Join Date
    04-27-2013
    Location
    Bradenton,florida
    MS-Off Ver
    Excel 2007
    Posts
    40

    Re: Using a UserForm to Display Playing Cards - problem with overlapping cards

    Worked perfectly
    Thank you very much
    Joe

+ 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: 09-17-2017, 10:34 AM
  2. Remembering Playing Cards
    By zyzzyva57 in forum Excel General
    Replies: 1
    Last Post: 01-02-2015, 04:33 PM
  3. Replies: 2
    Last Post: 12-10-2013, 02:58 PM
  4. [SOLVED] Display in Listbox,based on combobox select the spare cards history
    By Mikebau in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-19-2013, 06:05 PM
  5. Card Game Problem: How To Play Cards after Artificial Intelligence
    By owl1022 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-23-2013, 06:17 AM
  6. 3 x 5 cards
    By Deana in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 12-04-2005, 06:10 PM
  7. [SOLVED] Symbols for playing cards
    By Pete in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-13-2005, 04:10 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