+ Reply to Thread
Results 1 to 3 of 3

Help me understand this code

  1. #1
    Registered User
    Join Date
    10-13-2005
    Posts
    3

    Question Help me understand this code

    Hi everyone,

    A coworker came to me with an Excel sheet with dropdown controls on it. She wanted the dropdown control to not be visible when the sheet is printed, while the selected data in the dropdown still be printed. Easy enough, I thought, just gotta change the combobox properties.

    Turns out it wasn't quite that easy. The dropdowns seem to be created with something that vaguely resembles XML, but isn't quite that, either. As far as I can tell, this is the code that creates the dropdown:

    Please Login or Register  to view this content.
    So, what the heck is this? I've had a look at the MS Office XML schema reference, but I can't find anything that looks like this. Of course, any hint on how I can hide the control when the sheet is printed would be really helpful, too.

    Cheers!

  2. #2
    Registered User
    Join Date
    09-15-2005
    Posts
    90
    Try this:

    Right click the combo box, 'Format Control', 'Properties' tab, and in the bottum left is a box to 'Print Object' Deselcet it.

    Let me know....

  3. #3
    Registered User
    Join Date
    10-13-2005
    Posts
    3
    Thanks, but I tried that. The control and its contents are not printed, but I want the content (i.e. the selected item in the combo) to be printed. I'm looking for something similar to the combobox property ShowDropButtonWhen, which I could set to fmShowDropButtonWhenFocus.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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