Macro or routine for Rev Cloud
Macro or routine for Rev Cloud
(OP)
Has anyone written a macro or a routine for drawing a rev cloud that I can drop into a datasheet? The base drawing symbol for cloud on MSExcel is poor quality and it would be great if a macro existed that would draw the cloud around the offending cells and drop in a numbered triangle.





RE: Macro or routine for Rev Cloud
Sub Macro1()
Set Cloud_Loc = Range("B2")
Cloud_Height = 48#
Cloud_Width = 72#
Cloud_Left = Cloud_Loc.Left + Cloud_Width
Cloud_Top = -1 * (Cloud_Loc.Top + Cloud_Height)
ActiveSheet.Shapes.AddShape(msoShapeCloudCallout, _
Cloud_Left, Cloud_Top, Cloud_Width, Cloud_Height).Select
End Sub
you would have to change the locaton (B2) to the cell you wanted or place it as a call by a certain key stroke combination.
or
just use the insert picture option in excel and then key the value over the top.
online weld & material tracking system
http://www.tqmsys.com/qctrac/qctraclogin.php
RE: Macro or routine for Rev Cloud
Razook
RE: Macro or routine for Rev Cloud
You can keep this file opened with macro enabled and select the cells in any spreadsheet you want to cloud and use short cut keys suggested to draw cloud.
RE: Macro or routine for Rev Cloud
ActiveSheet.Shapes.AddShape(msoShapeIsoscelesTriangle, cloudleft + cloudwidth - 20, cloudtop, 20, _
30).Select
Selection.Characters.Text = Count
(for the text, you might need to link this to a cell in order to get the counter to work properly or see if anyone else has some ideas)