+ Reply to Thread
Results 1 to 6 of 6

Pop-up box similar to comments box

  1. #1
    akk
    Guest

    Pop-up box similar to comments box

    Hi

    I have a spreadsheet that shows a pop-up box, when i place
    the cursor on a cell. For every cell in a column there is
    a different pop-up box(looks similar to a comment, but is
    not a comment) which has the description. How has this
    been done? Also, how do i have the contents of the pop-up
    box in a separate column.

    Thanks


  2. #2
    akk
    Guest

    Pop-up box similar to comments box

    I fugured out that the contents of the pop-up box, is in
    data validation, input message. Is there a simple way(a
    macro?) to have that moved to a separate column.
    >-----Original Message-----
    >Hi
    >
    >I have a spreadsheet that shows a pop-up box, when i

    place
    >the cursor on a cell. For every cell in a column there is
    >a different pop-up box(looks similar to a comment, but is
    >not a comment) which has the description. How has this
    >been done? Also, how do i have the contents of the pop-up
    >box in a separate column.
    >
    >Thanks
    >
    >.
    >


  3. #3
    Debra Dalgleish
    Guest

    Re: Pop-up box similar to comments box

    Putting the input message in a separate column might confuse the users,
    but to do that:


    Select the cells that contain the data validation, and copy them
    Select the cells in the adjacent column.
    Choose Edit>Paste Special
    Select Validation, click OK

    Select the first set of cells with validation
    Choose Data>Validation
    Select the Input message tab
    Remove the check mark from the "Show Input Message when cell is
    selected" box
    Click OK

    Select the second set of cells with validation
    Choose Data>Validation
    Select the Settings tab
    From the Allow dropdown, choose 'Any value'
    Click OK

    akk wrote:
    > Hi
    >
    > I have a spreadsheet that shows a pop-up box, when i place
    > the cursor on a cell. For every cell in a column there is
    > a different pop-up box(looks similar to a comment, but is
    > not a comment) which has the description. How has this
    > been done? Also, how do i have the contents of the pop-up
    > box in a separate column.
    >
    > Thanks
    >



    --
    Debra Dalgleish
    Excel FAQ, Tips & Book List
    http://www.contextures.com/tiptech.html


  4. #4
    akk
    Guest

    Re: Pop-up box similar to comments box

    Thanks for this. BUt what i want is that the input message
    should show in the second set of cells, not as a pop-up
    box but as data in the cell itself.


    >-----Original Message-----
    >Putting the input message in a separate column might

    confuse the users,
    >but to do that:
    >
    >
    >Select the cells that contain the data validation, and

    copy them
    >Select the cells in the adjacent column.
    >Choose Edit>Paste Special
    >Select Validation, click OK
    >
    >Select the first set of cells with validation
    >Choose Data>Validation
    >Select the Input message tab
    >Remove the check mark from the "Show Input Message when

    cell is
    > selected" box
    >Click OK
    >
    >Select the second set of cells with validation
    >Choose Data>Validation
    >Select the Settings tab
    > From the Allow dropdown, choose 'Any value'
    >Click OK
    >
    >akk wrote:
    >> Hi
    >>
    >> I have a spreadsheet that shows a pop-up box, when i

    place
    >> the cursor on a cell. For every cell in a column there

    is
    >> a different pop-up box(looks similar to a comment, but

    is
    >> not a comment) which has the description. How has this
    >> been done? Also, how do i have the contents of the pop-

    up
    >> box in a separate column.
    >>
    >> Thanks
    >>

    >
    >
    >--
    >Debra Dalgleish
    >Excel FAQ, Tips & Book List
    >http://www.contextures.com/tiptech.html
    >
    >.
    >


  5. #5
    Debra Dalgleish
    Guest

    Re: Pop-up box similar to comments box

    You could use a macro to copy the messages to the adjacent cells. For
    example, select the column with data validation, then run the following
    code:
    '========================
    Sub CopyInputMsg()
    Dim rng As Range
    Dim c As Range
    Set rng = Selection.SpecialCells(xlCellTypeAllValidation)
    For Each c In rng
    c.Offset(0, 1).Value = c.Validation.InputMessage
    c.Validation.ShowInput = False
    Next c
    End Sub
    '==================

    There are instructions here for pasting the code into your workbook:

    http://www.contextures.com/xlvba01.html

    To run the code, choose Tools>Macro>Macros.
    Select the macro, and click Run.

    akk wrote:
    > Thanks for this. BUt what i want is that the input message
    > should show in the second set of cells, not as a pop-up
    > box but as data in the cell itself.
    >
    >
    >
    >>-----Original Message-----
    >>Putting the input message in a separate column might

    >
    > confuse the users,
    >
    >>but to do that:
    >>
    >>
    >>Select the cells that contain the data validation, and

    >
    > copy them
    >
    >>Select the cells in the adjacent column.
    >>Choose Edit>Paste Special
    >>Select Validation, click OK
    >>
    >>Select the first set of cells with validation
    >>Choose Data>Validation
    >>Select the Input message tab
    >>Remove the check mark from the "Show Input Message when

    >
    > cell is
    >
    >> selected" box
    >>Click OK
    >>
    >>Select the second set of cells with validation
    >>Choose Data>Validation
    >>Select the Settings tab
    >>From the Allow dropdown, choose 'Any value'
    >>Click OK
    >>
    >>akk wrote:
    >>
    >>>Hi
    >>>
    >>>I have a spreadsheet that shows a pop-up box, when i

    >>

    > place
    >
    >>>the cursor on a cell. For every cell in a column there

    >>

    > is
    >
    >>>a different pop-up box(looks similar to a comment, but

    >>

    > is
    >
    >>>not a comment) which has the description. How has this
    >>>been done? Also, how do i have the contents of the pop-

    >>

    > up
    >
    >>>box in a separate column.
    >>>
    >>>Thanks
    >>>

    >>
    >>
    >>--
    >>Debra Dalgleish
    >>Excel FAQ, Tips & Book List
    >>http://www.contextures.com/tiptech.html
    >>
    >>.
    >>

    >



    --
    Debra Dalgleish
    Excel FAQ, Tips & Book List
    http://www.contextures.com/tiptech.html


  6. #6
    akk
    Guest

    Re: Pop-up box similar to comments box

    Thanks! This worked wonderfully.

    >-----Original Message-----
    >You could use a macro to copy the messages to the

    adjacent cells. For
    >example, select the column with data validation, then run

    the following
    >code:
    >'========================
    >Sub CopyInputMsg()
    >Dim rng As Range
    >Dim c As Range
    >Set rng = Selection.SpecialCells(xlCellTypeAllValidation)
    >For Each c In rng
    > c.Offset(0, 1).Value = c.Validation.InputMessage
    > c.Validation.ShowInput = False
    >Next c
    >End Sub
    >'==================
    >
    >There are instructions here for pasting the code into

    your workbook:
    >
    > http://www.contextures.com/xlvba01.html
    >
    >To run the code, choose Tools>Macro>Macros.
    >Select the macro, and click Run.
    >
    >akk wrote:
    >> Thanks for this. BUt what i want is that the input

    message
    >> should show in the second set of cells, not as a pop-up
    >> box but as data in the cell itself.
    >>
    >>
    >>
    >>>-----Original Message-----
    >>>Putting the input message in a separate column might

    >>
    >> confuse the users,
    >>
    >>>but to do that:
    >>>
    >>>
    >>>Select the cells that contain the data validation, and

    >>
    >> copy them
    >>
    >>>Select the cells in the adjacent column.
    >>>Choose Edit>Paste Special
    >>>Select Validation, click OK
    >>>
    >>>Select the first set of cells with validation
    >>>Choose Data>Validation
    >>>Select the Input message tab
    >>>Remove the check mark from the "Show Input Message when

    >>
    >> cell is
    >>
    >>> selected" box
    >>>Click OK
    >>>
    >>>Select the second set of cells with validation
    >>>Choose Data>Validation
    >>>Select the Settings tab
    >>>From the Allow dropdown, choose 'Any value'
    >>>Click OK
    >>>
    >>>akk wrote:
    >>>
    >>>>Hi
    >>>>
    >>>>I have a spreadsheet that shows a pop-up box, when i
    >>>

    >> place
    >>
    >>>>the cursor on a cell. For every cell in a column there
    >>>

    >> is
    >>
    >>>>a different pop-up box(looks similar to a comment, but
    >>>

    >> is
    >>
    >>>>not a comment) which has the description. How has this
    >>>>been done? Also, how do i have the contents of the pop-
    >>>

    >> up
    >>
    >>>>box in a separate column.
    >>>>
    >>>>Thanks
    >>>>
    >>>
    >>>
    >>>--
    >>>Debra Dalgleish
    >>>Excel FAQ, Tips & Book List
    >>>http://www.contextures.com/tiptech.html
    >>>
    >>>.
    >>>

    >>

    >
    >
    >--
    >Debra Dalgleish
    >Excel FAQ, Tips & Book List
    >http://www.contextures.com/tiptech.html
    >
    >.
    >


+ 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