+ Reply to Thread
Results 1 to 7 of 7

Text box or Cell area updating

  1. #1
    Registered User
    Join Date
    11-22-2009
    Location
    Newcastle,England
    MS-Off Ver
    Excel 2003
    Posts
    78

    Post Text box or Cell area updating

    Hi,

    I have two sheets in my workbook. One named singledump and the other individualfileselect.

    Within single dump i have daily data loaded with certain cells containing comments added for that day of the week.

    E.g. Tuesday 3000
    Below average clearances, we will look in to this further throughout the week.

    What i would like to do is have either a text box area of just simply one cell updating with a the first comment from the week and to then have two buttons back and forward allowing the user to click and the cells will update for the next comment that week or go back to the comment before.

    How would i be best going about this? To be honest i would prefer to keep away from text boxes and would be happy with just the two buttons scrolling through specified ranges to update a cell on individualfileselect sheet.

    Thanks for any help
    Last edited by munkee; 12-11-2009 at 08:03 AM.

  2. #2
    Valued Forum Contributor JeanRage's Avatar
    Join Date
    03-02-2009
    Location
    Nice, France
    MS-Off Ver
    Excel 2003
    Posts
    705

    Re: Text box or Cell area updating

    Hi,

    Could you please clarify what you mean exactly by "comment" ...
    Ideally, you should post a sample file to explain your need ...

    HTH

  3. #3
    Forum Contributor
    Join Date
    09-22-2009
    Location
    Indianapolis, Indiana
    MS-Off Ver
    Office 2003 / Office 2007
    Posts
    114

    Re: Text box or Cell area updating

    Try something like the sheet attached.

    This uses a spin button, and increments / decrements a counter in a range, and index is used with a range to display text. This example has NO validation (so when someone clicks down too many times and goes to -22 for example.. yeah).
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    11-22-2009
    Location
    Newcastle,England
    MS-Off Ver
    Excel 2003
    Posts
    78

    Re: Text box or Cell area updating

    Thank you for the example marzuk ill be able to edit this to my needs quite easily.

    How would i constrain the values the spinbutton can go through?

    if i index monday as 1 tuesday as 2 etc up till friday 5 and then not allow to go over 5 or below 1?

    or perhaps to just start cycling back through after 5 so it goes back to 1 after that.

  5. #5
    Forum Contributor
    Join Date
    09-22-2009
    Location
    Indianapolis, Indiana
    MS-Off Ver
    Office 2003 / Office 2007
    Posts
    114

    Re: Text box or Cell area updating

    You could do a variety of things to limit that. If for example the comment range was say from A1 to A100, when you implemented SpinUp() you could only increment if the resulting cell was not blank.

  6. #6
    Registered User
    Join Date
    11-22-2009
    Location
    Newcastle,England
    MS-Off Ver
    Excel 2003
    Posts
    78

    Re: Text box or Cell area updating

    Bah hit a problem since im such a noob at all of this.

    I can not get the index to work if the cells are offset (in my workbook i will have to specify the cells that contain the comments as there is other data between these.)
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    11-22-2009
    Location
    Newcastle,England
    MS-Off Ver
    Excel 2003
    Posts
    78

    Re: Text box or Cell area updating

    Ignore that post im being a retard ill just dump the cells into a range on the spreadsheet im working on.

    Thanks for the help

+ 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