customised userform

F

filo666

Hi, I have a dialogbox (Set shp1 =
ActiveWorkbook.ActiveSheet.Shapes.AddShape(msoShapeRectangularCallout, lft +
wth - 9, tp - 5.9 * hgt, 110, 65))

that is called in a selectionchange event, the problem is that when it is
called the undo is lost, I dont want to lose the undo, therefore I thought
about using a Userform (modeless), the problem with the userform is the form
(I wanted to be like msoShapeRectangularCallout) and the background color (I
want yellow with 40% transparency and no border lines)

the rest of the thinks I know how to accomplish (possition, etc).

any suggestion will be appresiated.
 
C

Chip Pearson

All most anything you do via VBA code (from a code module, object
module, or userform) clears out the Undo buffer. You could try to
write your own Undo method, but that can get rather tricky rather
quickly.

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top