Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 265
Default customised userform

Hi, I have a dialogbox (Set shp1 =
ActiveWorkbook.ActiveSheet.Shapes.AddShape(msoShap eRectangularCallout, 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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default customised userform

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)


On Mon, 16 Mar 2009 05:08:01 -0700, filo666
wrote:

Hi, I have a dialogbox (Set shp1 =
ActiveWorkbook.ActiveSheet.Shapes.AddShape(msoSha peRectangularCallout, 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.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Customised Buttons Gibbyky2 Excel Programming 1 May 26th 08 09:36 PM
customised output TUNGANA KURMA RAJU Excel Discussion (Misc queries) 1 October 22nd 05 02:04 PM
customised sheet filo666 Excel Programming 1 May 23rd 05 04:15 PM
excel customised function with help Gabriel[_3_] Excel Programming 1 August 8th 04 01:42 AM
Customised Interface Nigel[_6_] Excel Programming 0 November 2nd 03 04:25 PM


All times are GMT +1. The time now is 02:43 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"