Consulting

Results 1 to 9 of 9

Thread: VBA Codes that i like to learn :)

  1. #1

    VBA Codes that i like to learn :)

    hello, i am interested to find out the codes for the excel spread sheet which you can download from the link below.. I tried to open using editor however it was password potected

    The function such as the drop down box with scelecte option for highlighting on sheet, plus the autoHighlight function on the "MAtch Schedule" sheet.

    Any suggestions?

    Thank you.

    yours,
    Ed

    link:
    http://www.parry.co.nz/wc.zip
    Last edited by photon_ed; 05-24-2006 at 11:38 AM.

  2. #2
    VBAX Regular
    Joined
    Mar 2005
    Location
    Helena, MT
    Posts
    90
    Location
    What attached sheet??

    lenze

  3. #3
    sorry, i was too big to upload as an attactment. please chekc the link.

    Thank you for the prompt reply.

    yours,
    Ed

  4. #4
    VBAX Regular
    Joined
    Mar 2005
    Location
    Helena, MT
    Posts
    90
    Location
    Ask Graham (AKA Parry) about it.

    lenze

  5. #5
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Hi Photon.
    I think the file is a great example of what you can do with Excel. But if the code is not available then I would start by identifying the "simple" functions and checking Help for the likely property used. Maybe not the quickest way, but I find its the best way to remember for future use.
    Regards
    MD
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  6. #6
    VBAX Regular
    Joined
    Mar 2005
    Location
    Helena, MT
    Posts
    90
    Location
    In addition to MD's comments, if you can describe an effect from the Workbook and ask a specific question regarding that effect, I'm sure you will get some ideas from the forum.
    Example. How can I make C2 red when I enter "yes" in D6??

    lenze

  7. #7
    oK, I will have a go.
    Thank you very much for all the prompt replies

    Yours,
    Ed

  8. #8
    VBAX Master Killian's Avatar
    Joined
    Nov 2004
    Location
    London
    Posts
    1,132
    Location
    Hi Ed,

    There's certainly a lot going on there and it would be interesting to see how much is done with VBA.
    For example, the autoHighlight function in "Match Schedule" could be done with code in the combo box change event, looping through the ranges in the team lists. As a programmer, that's my instinctive reaction but after all this time mixing with all the Excel gurus around here, I'm starting to realise I should be looking to native functionality first (but there's so much of it to remember). It's doubtless faster and more efficient to do it by linking the combobox to a cell and applying conditional formatting to the ranges based on the linked cell's value.
    K :-)

  9. #9
    VBAX Contributor
    Joined
    Oct 2004
    Posts
    159
    Location
    Thanks for the excellent file link

Posting Permissions

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