Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default RefEdit causing crashes

I am having intermittent problems with Refedit.

I have a dialog box which has a refedit contained in a Tabstrip. I
have some code that checks the refedit box values every time the
tabstrip changes, ie the user has moved to the next part of the
process.

Normally what happens is the the dialog disappears and when I go into
VBA it sometimes says its still running but it never kills the process
properly.

If you run the process again it kills the old version properly but the
kills Excel.

Any ideas?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default RefEdit causing crashes

It is modal. Showmodal is set to TRUE
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default RefEdit causing crashes

Use application.inputbox.

dim myRng as range
set myrng = nothing
on error resume next
set myrng = application.inputbox(prompt:="hi there!",type:=8)
on error goto 0

if myrng is nothing then
'user hit cancel
else
'you have a range
end if



Presspley wrote:

(Presspley) wrote in message . com...
It is modal. Showmodal is set to TRUE


Is there an alternative method to sourcing a range from the spreadsheet?


--

Dave Peterson



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default RefEdit causing crashes

Thanks you a life saver

Dave Peterson wrote in message ...
Use application.inputbox.

dim myRng as range
set myrng = nothing
on error resume next
set myrng = application.inputbox(prompt:="hi there!",type:=8)
on error goto 0

if myrng is nothing then
'user hit cancel
else
'you have a range
end if



Presspley wrote:

(Presspley) wrote in message . com...
It is modal. Showmodal is set to TRUE


Is there an alternative method to sourcing a range from the spreadsheet?

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
RefEdit question tt Excel Discussion (Misc queries) 2 February 8th 06 03:42 AM
RefEdit in VB6 Ben Crinion Excel Programming 0 October 8th 04 11:00 AM
RefEdit daMike[_2_] Excel Programming 3 December 13th 03 07:31 PM
Refedit question. Cesar Zapata[_2_] Excel Programming 1 November 27th 03 03:27 AM
Crash upon using RefEdit Oliver Kharraz Excel Programming 3 November 18th 03 04:36 PM


All times are GMT +1. The time now is 05:01 PM.

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"