+ Reply to Thread
Results 1 to 16 of 16

Cells with instructions which disapper when data entered

  1. #1
    Registered User
    Join Date
    01-29-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Cells with instructions which disapper when data entered

    Hi,

    I needed some help in creating a template for people. In the template, I want to create cells which instruct the user on what need to be filled in that cell.

    For eg. go to www.m-w.com In the box, it says 'Enter word or phrase'. When you click to enter a word, this line vanishes. I want to create a similar thing in Excel.

    In Excel, for eg, in a cell it should say 'Enter Name' and when the user enter his name, this instruction should vanish. Also, this instruction should be in GREY and when they user enters his name it should be BOLD BLUE.

    Any help guys?
    Thanks.
    Last edited by bullandthebear; 01-30-2009 at 11:20 AM.

  2. #2
    Forum Contributor
    Join Date
    08-02-2007
    Location
    Panama & Austria
    MS-Off Ver
    2003 & 2010
    Posts
    186

    Re: Cells with instructions which disapper when data entered

    go to menu --> Format --> conditional formating.
    In there specify that the font should be white if the next cell is empty
    Please Login or Register  to view this content.

  3. #3
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Cells with instructions which disapper when data entered

    Hi, Perhaps something like this:-
    Please Login or Register  to view this content.
    Regards Mick

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Cells with instructions which disapper when data entered

    Try this, make sure any input cells start with Enter.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Cells with instructions which disapper when data entered

    Hi, Or something a bit more elaborate tnan my first offering:-
    Change the Text and Ranges to suit:-
    Please Login or Register  to view this content.
    Regards Mick

  6. #6
    Registered User
    Join Date
    01-29-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Cells with instructions which disapper when data entered

    Cheers Mike.. the 2nd one works real well.

    I noticed a way around this. If i hit the space bar in a cell, it will remain blank. So users will not input the data by pressing the space bar. Anyway around this??

    Thanks!
    Last edited by bullandthebear; 01-29-2009 at 11:08 AM.

  7. #7
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Cells with instructions which disapper when data entered

    Hi, Try this, If you use the other code add the chr(32) bit.
    Please Login or Register  to view this content.
    Regards Mick

  8. #8
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Cells with instructions which disapper when data entered

    Hi, Change that line to the following:-
    This should now cover pressing the spaceBar a Number of times
    Please Login or Register  to view this content.
    Regards Mick

  9. #9
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Cells with instructions which disapper when data entered

    have you tried the example I posted, it works on any cell that starts with "Enter"?

  10. #10
    Registered User
    Join Date
    01-29-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Cells with instructions which disapper when data entered

    Mick,

    How do I do this in the 2nd code that you sent? Cheers

  11. #11
    Registered User
    Join Date
    01-29-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Cells with instructions which disapper when data entered

    Roy, that file doesnt seem to work.
    Thanks!

  12. #12
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Cells with instructions which disapper when data entered

    Hi, Alter similar code Line, to code Below:-
    Please Login or Register  to view this content.
    Regards Mick

  13. #13
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Cells with instructions which disapper when data entered

    Quote Originally Posted by bullandthebear View Post
    Mick,

    How do I do this in the 2nd code that you sent? Cheers
    Yes it does, try deleting the instruction in a cell without entering anything. The message re-appears

    Enter a name & the new entry remains.

  14. #14
    Registered User
    Join Date
    01-29-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Cells with instructions which disapper when data entered

    Quote Originally Posted by MickG View Post
    Hi, Alter similar code Line, to code Below:-
    Please Login or Register  to view this content.
    Regards Mick
    Brilliant! Thanks a ton! Exactly what i want.

  15. #15
    Registered User
    Join Date
    03-07-2014
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Cells with instructions which disapper when data entered

    Does anyone know how we do this in Excel 2010?

    THere is no Menu option that I can see.

  16. #16
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Cells with instructions which disapper when data entered

    Hello gtz101,

    Welcome to the Forum.

    This Thread is over 5 years old, and your chances of eliciting any response is about less than Zero.

    It is always better to Start your own Thread, and for convenient reference, post a link of this Thread in your own new Thread.

    Sit back and enjoy the responses!

    Regards.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

+ 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