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.
		 | 
		
			Lista Forumurilor Pe Tematici
		 | 
	
	
		
			Mrrrr's Forum (VIEW ONLY) | Reguli | Inregistrare | Login
   POZE MRRRR'S FORUM (VIEW ONLY)
  
			Nu sunteti logat.
		 | 
	
	Nou pe simpatie: sexy_andrea2006
   | Femeie 24 ani Sibiu cauta Barbat 27 - 53 ani |   
	 | 
	
	
		
			
				
					| 
						 
							TRaP 
							Moderator
  
							Inregistrat: acum 7 ani 
							Postari: 858
						 
					 | 
				 
			 
		 | 
		
			
				
					
						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:
  
					 | 
				 
			 
		 | 
	
	
		| pus acum 2 ani | 
		
			
		 |