Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7911597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T13:18:28+00:00 2026-06-03T13:18:28+00:00

This is a question that many might not find it is necessary but to

  • 0

This is a question that many might not find it is necessary but to me it is very helpful as I have a problem of distraction.

Excel can display the sum of the selected cell in the top left corner
enter image description here

But is there anyway to make it appear next to the mouse pointer?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T13:18:30+00:00Added an answer on June 3, 2026 at 1:18 pm

    This could be a solution, although it isn’t perfect by any means, but you have to be careful if you want to use data validation elsewhere in the worksheet as it will break that.

    This would need work on resetting the data validation range when you select a different range, but you should be able to determine if this approach is of any use first.

    In the selection change event

    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
     doSumTip
    End Sub
    

    and then use data validation to set an input message on your selection.
    You can alter this to show counts or averages etc.

    Sub doSumTip()
    Dim myRng As Range
    Dim sumTip
    Set myRng = Selection
        If myRng.Count > 1 Then
           sumTip = WorksheetFunction.Sum(myRng)
            With Selection.Validation
                .Delete
                .Add Type:=xlValidateInputOnly
                .IgnoreBlank = True
                .InputMessage = sumTip
            End With
        Else
            With Selection.Validation
                .Delete
                .Add Type:=xlValidateInputOnly
                .InputMessage = ""
            End With
        End If
     Set myRng = Nothing
    End Sub
    

    OR you could create your own tooltip with a textbox using the selection range and positioning it based on that selection, suggest the textbox be colored and flat like the data validation one

    Sub doSumTip()
    Dim myRng As Range
    Dim sumTip
    Set myRng = Selection
        If myRng.Count > 1 Then
           sumTip = WorksheetFunction.Sum(myRng)
           cTop = myRng.Top
           cWidth = myRng.Left + myRng.Width
           ActiveSheet.TextBox1.Left = cWidth
           ActiveSheet.TextBox1.Top = cTop
           ActiveSheet.TextBox1.Text = sumTip
           ActiveSheet.TextBox1.Visible = True
    
         Else
           ActiveSheet.TextBox1.Visible = False
         End If
     Set myRng = Nothing
    End Sub
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know that this question might have been asked like 100 times, but, believe
Kind of like this question I have many text snippets that I use many,
The very act of asking this question suggests that my approach to this problem
I realize this question might not be that programming related, and that it by
This is a very simple question for many of you reading this, but it's
this might sound like a daft question but I can't seem to find a
this is a homework question, and I'm not that at finding the complixity but
I found this question that is discussing what I would like to do, but
I found this question that was very useful in learning the basics of the
I have a UIView subclass ( CustomView for purposes of this question) that has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.