I am inserting through a vb script code, comments to cells... But the thing is, that certain comments are larger than others... Is there any code that let the yellow popup resize to show all the content ? Coz I started thinking in incrementing it's height according to the number of lines.
In the example added a code is running to show the comments (pictures) when the cell is selected. This way you don't have to mouse-over to show the comment, you just use your arrow keys.. Is there a way to not show comments on mouse-over? I only want them to show while the cell is selected, using the VBA code. Because now you can show 2 comments while a cell is selected, and you put your cursor on another cell.
In the last thread Andy gave me this code to only show the comments when a cell in Column A is selected. It doesn't show them anymore when you put your cursor on a cell. But when 2 excel files are open, including the example, and you close the other one it asks the regular stuff; Do you wan't to save .. etc. It also askes that with the example added, and when you press cancel, the code doesn't work anymore and I have to re-open it. Or if, for some reason, you close the sheet, but still want to edit something, press cancel, the code doesn't work anymore. How can this be changed?
I wanted to know how to show a comment when hovering over a checkbox, whether it is enabled or not. I originally added comments in the cell behind each box, but due to many users using different versions of excel and different resolutions of each computer, formatting would be different and it would look awful.
I am a novice user and not very familiar with Macros or VBA. I took a macro I found on contextures and got it to resize comments that already exist. However, I am trying to get it to also create the comment (with no content) if the comment does not already exist, and then resize it. This is what I have so far:
Code: Sub ResizeCommentsInSelection() Dim mycell As Range Dim myRng As Range Dim lArea As Long Set myRng = Selection
How would you prevent the copy/paste of cells that have comments?
Also, how would you allow cells with comments to be copied and pasted without pasting the comments?
I also have an aside question about the forum advanced search. When searching for multiple search words, how would you type the search to include all words, for example, "prevent" & "paste" & "comments".
In cell a3 user selects yes or no. Then in cell b3, if they selected yes for a3, a pop up box should appear which asks for a value (1-100), and if they selected no for a3, then b3 automatically becomes zero. How can I do this.
I'm trying to write a code (and I have little to no knowledge of VBA!) so that when a line is inserted onto any worksheet in the workbook a msgbox appears....
Trying to get it myself I created this- it's probably COMPLETELY wrong, like I've mentioned I have little to no knowledge and just using websites/other codes I've seen to put this together... o.O
How do you create a pop-up box that opens every time a specific worksheet is activated that asks "What was the first month of activity?" The month that is entered needs to populate in Cell "A7". I also want the 11 months following the answer to the above pop up box to populate in cells A8-A18.
I'd like to have a warning message pop up if the value of column AF is 3 or less.
Column AF is counting entries in columns E:I by using the formula
=COUNTBLANK(E1:I1)
to create the value
A value of 5 is OK (no data in E to I), and 4 is also fine (just one entry in E to I) A value of 3 or less, indicating more than one column in E to I having data, needs to display the message. Presently I have a conditional format on another column to display red background when AF is 3 or less, but it's a little ambiguous, so a message would be neater!
I like to know if this can be done. The entry of data for cell A3 is from a pre-determined list. I like to create a Userform to allow the user to select from this form. the idea is to have this form popup whenever cell A3 is selected.
Codes are entered manually only in Column A starting at A1..A10000+ ranges.
As Unique codes are entered ie. 1234 or 2345 or 3456 in the next empty cell down, I need a specific popup message for each of the three codes instructing the user what to do next.
I script that on open would pop up asking if a sync was done with an option for yes or no. If yes is pressed then it would just open, if no selected it would give a message "must sync before use" and close the workbook.
I do not want this message to pop up when other spreadsheets are open when this one is still open so im guessing private workbook_open
I am designing a program which basically calls another program for all dates back to a specified time. Certain dates will not have data and there will be a pop-up message saying something along those lines.
What I want is a way for VBA to "know" there has been an error message (so I can set a boolean to true or false so I can do an if tree) and then also a way to click "OK" to proceed through the error message.
I've got a data sheet (called "data") which contain a bunch of data, if someone edits the data manually then a msg boxpopups. which i've done using the code below in the code on that tab. However, I also have vba that places data on the tab that also triggers the popup message.
So how do i make it such that if the vba is run then the popup doesnt appear but if they edit the data manually then it does?
VB: Sub Worksheet_Change(ByVal Target As Range) Dim WatchRange As Range Dim IntersectRange As Range
I'm modifying a template that originally shipped with Excel 2003 (I have not upgraded to 2007). In the template, there is a pop-up box (not a dialog box) that shows up when I'm on certain cells. I've attached an image of it. It's the yellow box containing the words "Company Information..." etc. I cannot find any way to remove it! It's not a comment, and selecting it doesn't allow you to edit it. What is it, and does anyone know how to remove it?
I want to create a pop up message showing count of cells turned red,each time the workbooked are opened.like column "I" has two dates in red colour,so the pop up will say "you have 2 contracts expired"
I need to improve this project i've created. right now this project is an Exam for our agents. You can try it first if you want. I've attached the file below.
I need putting a timer that will compute the seconds or minutes it took the agent to finish the exam. timer should start after they click "Take the ETP" button. And finally, creating a screen / a pop-up that will show the ff example.
[I]EXAMPLE:[/I] Name of Examinee Answer: 1. A = Correct 2. B = Incorrect 3. A = Correct 4. C = Correct 5. D = Incorrect
I have an excel, in which the user can input values and the sum will be computed for each column (i.e. =Sum (L2:L29)) . I want to alert the user when the computed sum exceeds a particular value, else it shud proceed.
It can also be done at while the save & close of the workbook.
I would like to have a question box pop up w/Yes and No Buttons at the start of my macro to choose between two different sub routines. Therefore, MsgBox would say: Import New Yard Inventory?
If Yes, then it would run the alternate subroutine. If No, Then it would run macros normal routine. Not quite sure how to do this. Would the msg box have to be a form box where, a representive value would have to get filled into a cell? Then reference if cell value is true ,then or would it register the value to memory so then, the code would have to to call the given value then run code if value it true?
This file works perfect on my main computer, but will not work on my wifes machine. Both machines have the same Excel program. Maybe I have downloaded a addon, just not sure. On the machine that it does not work I get Could not load object because it is not available on this machine.
I am trying to create a macro to autofilter a sheet based on the value a user will enter into a popup box. I have found bits of code which I have been attempting to figure out and use somehow however I am getting more lost.
I can create a basic macro to autofilter, the problem I am having is that I am unsure of how to link this to an input/popup box of some sort
I have this code and would like that when you change the Target.Value it would pop a confirmation box with yes or no option. I know how to implement this for a button, but cant figure how do i do it with this code.