Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Modeless Msgbox?

Is there anyway to display/show a modeless msgbox (vbOKOnly)? I need the
user to be able to do something before continuing. I guess I am trying to
avoid a userform. Any help appreciated.

Pete


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default Modeless Msgbox?

Depends on what you want to be able to do, but look at Application.Inputbox
in VBA Help.

--
HTH

Bob Phillips

"PJohnson" wrote in message
news:FnWFd.23509$sf5.8788@lakeread05...
Is there anyway to display/show a modeless msgbox (vbOKOnly)? I need the
user to be able to do something before continuing. I guess I am trying to
avoid a userform. Any help appreciated.

Pete




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Modeless Msgbox?

An inputbox is modal also. I just need to user to be able to perhaps select
or copy or paste something (on the excel sheet itself) before continuing
with the code.


"Bob Phillips" wrote in message
...
Depends on what you want to be able to do, but look at

Application.Inputbox
in VBA Help.

--
HTH

Bob Phillips

"PJohnson" wrote in message
news:FnWFd.23509$sf5.8788@lakeread05...
Is there anyway to display/show a modeless msgbox (vbOKOnly)? I need the
user to be able to do something before continuing. I guess I am trying

to
avoid a userform. Any help appreciated.

Pete






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Modeless Msgbox?

Dim rng as Range
Dim rng1 as Range
On Error Resume Next
set rng = Application.Inputbox("Select range with mouse", Type:=8)
On Error goto 0
if rng is nothing then exit sub

On Error Resume Next
set rng1 = Application.Inputbox("Select range with mouse", Type:=8)
On Error goto 0

if rng1 is nothing then exit sub
rng.copy Destination:=rng1


--
Regards,
Tom Ogilvy

"PJohnson" wrote in message
news:MHWFd.23510$sf5.14250@lakeread05...
An inputbox is modal also. I just need to user to be able to perhaps

select
or copy or paste something (on the excel sheet itself) before continuing
with the code.


"Bob Phillips" wrote in message
...
Depends on what you want to be able to do, but look at

Application.Inputbox
in VBA Help.

--
HTH

Bob Phillips

"PJohnson" wrote in message
news:FnWFd.23509$sf5.8788@lakeread05...
Is there anyway to display/show a modeless msgbox (vbOKOnly)? I need

the
user to be able to do something before continuing. I guess I am trying

to
avoid a userform. Any help appreciated.

Pete








  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Modeless Msgbox?

Re-read my response PJ, and try it.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"PJohnson" wrote in message
news:MHWFd.23510$sf5.14250@lakeread05...
An inputbox is modal also. I just need to user to be able to perhaps

select
or copy or paste something (on the excel sheet itself) before continuing
with the code.


"Bob Phillips" wrote in message
...
Depends on what you want to be able to do, but look at

Application.Inputbox
in VBA Help.

--
HTH

Bob Phillips

"PJohnson" wrote in message
news:FnWFd.23509$sf5.8788@lakeread05...
Is there anyway to display/show a modeless msgbox (vbOKOnly)? I need

the
user to be able to do something before continuing. I guess I am trying

to
avoid a userform. Any help appreciated.

Pete










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
Modeless userform hngo New Users to Excel 2 July 13th 05 09:23 AM
VB6 COM Add-In and Modeless Dialogbox BOELENS Didier Excel Programming 0 November 16th 04 10:35 AM
modeless userform jacob Excel Programming 1 May 4th 04 02:53 PM
Modeless property Gordon[_12_] Excel Programming 4 January 12th 04 07:40 PM
Modeless userform jacob[_3_] Excel Programming 2 September 29th 03 08:02 PM


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

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"