Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default beforerightclick and selection change issue

I have a report where I use the selection change worksheet event to display a
form1. I want to use the beforerightclick event to display another form,
form2 and not display the form from the selection change. I have a
workaround but form1 quickly displays and then unloads in a flicker. I don't
want to see this flicker.

Here is my code:

Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, Cancel As
Boolean)
'unload form1 which is displayed on the selection change event
Unload frmAcctDrillDown
Cancel = True
'load form2
Load frmNotes
frmNotes.Show


End Sub
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
BeforeRightClick gk Excel Worksheet Functions 4 October 24th 09 02:54 PM
BeforeRightClick Rob Excel Programming 0 January 29th 08 02:22 PM
Using BeforeRightClick in addins hubbabubba Excel Programming 1 March 27th 06 02:16 AM
Using BeforeRightClick in addins Tom Ogilvy Excel Programming 0 March 21st 06 06:41 PM
Excel VBA - Range(Selection, Selection.End(xlDown)).Name issue. jonH Excel Programming 3 June 7th 04 09:13 PM


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

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

About Us

"It's about Microsoft Excel"