LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default ok then...msg box

Hi Paul
if you want to ask the user for a range selection (to process this
selection in your code) you may use the following

Sub foo()
....
Dim rngAs Range
On Error Resume Next
Set rng= Application.InputBox(prompt:="Select range:", Type:=8)
If Err < 0 Then
Exit Sub
End If
On Error GoTo 0
' Now you can use rng as range object with your user's selection
....
End Sub


--
Regards
Frank Kabel
Frankfurt, Germany

paul wrote:
can the msg box be set up in such a way that excel is
not "frozen" so that the user can select a range
-----Original Message-----
Hi Paul
AFAIK there is no event which is triggered by a format change

--
Regards
Frank Kabel
Frankfurt, Germany

paul wrote:
I want to trigger an event by changing the format(we
change the fill colour) of a cell.The change event isnt
triggered by changing the fill colour.Other wise i can
prompt the user with a msg box to select a range but excel
is frozen while the msgbox appears.

.


 
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
Capturing Insert/Delete Events in Excel Sheet using c# Gaurav Nanda[_2_] Excel Worksheet Functions 0 July 10th 09 06:14 AM
events? [email protected] Excel Discussion (Misc queries) 1 September 14th 05 03:26 PM
Capturing Sheet Events MWE Excel Programming 4 January 18th 04 07:56 PM
events Mark[_17_] Excel Programming 1 October 31st 03 09:18 AM
events Mark[_17_] Excel Programming 1 October 29th 03 12:56 PM


All times are GMT +1. The time now is 06:04 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"