×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Macro or routine for Rev Cloud

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

something like this:

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

If you would want to add a triangle to the upper right corner, add the following code to his makecloud macro before the cl.Select line:

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)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources