Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
|
Nou pe simpatie: amy70
 | Femeie 24 ani Bucuresti cauta Barbat 31 - 59 ani |
|
|
Mrrrr's Forum (VIEW ONLY)ReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
|
| #1 |
TRaPModerator
Postari: 960
|
|
I have various comments in an Excel table and upon filtering or sorting the table differently, the comments in a column change sizes.
In order to prevent that, I made a simple code to lock the aspect ratio of all the comments in selection and prevent them from resizing with cells:
Sub Comment_Size()
For Each cell In Selection If Not cell.Comment Is Nothing Then cell.Comment.Shape.LockAspectRatio = msoTrue ' enable Lock aspect ratio cell.Comment.Shape.Placement = 2 ' enable Move but do not size with cells End If Next cell
End Sub |
Source: https://stackoverflow.com/questions/559 ... pect-ratio
|
|
| |
|