PC Review


Reply
Thread Tools Rate Thread

How to Determine if in Draw Mode?

 
 
TC
Guest
Posts: n/a
 
      6th Apr 2008
Hey All,

I was wondering if there is a way to determine when Excel is in draw mode
(i.e. click on the 'Select Objects' arrow on the Drawing toolbar)?

Thanks,

TC


 
Reply With Quote
 
 
 
 
JLGWhiz
Guest
Posts: n/a
 
      6th Apr 2008
Not sure exactly what you are asking, but if you select an item like the
arrow from the drawing toolbar and the cursor turns into a tiny plus or
crosshair, then it is in drawing mode.

"TC" wrote:

> Hey All,
>
> I was wondering if there is a way to determine when Excel is in draw mode
> (i.e. click on the 'Select Objects' arrow on the Drawing toolbar)?
>
> Thanks,
>
> TC
>
>
>

 
Reply With Quote
 
TC
Guest
Posts: n/a
 
      6th Apr 2008
Yes, but how to determine this programmatically using VBA?


"JLGWhiz" <(E-Mail Removed)> wrote in message
news:85369FAE-D235-479F-8303-(E-Mail Removed)...
> Not sure exactly what you are asking, but if you select an item like the
> arrow from the drawing toolbar and the cursor turns into a tiny plus or
> crosshair, then it is in drawing mode.
>
> "TC" wrote:
>
>> Hey All,
>>
>> I was wondering if there is a way to determine when Excel is in draw mode
>> (i.e. click on the 'Select Objects' arrow on the Drawing toolbar)?
>>
>> Thanks,
>>
>> TC
>>
>>
>>



 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      6th Apr 2008
Maybe...

If Application.CommandBars("Drawing") _
.Controls("Select Objects").State = msoButtonDown Then
MsgBox "It's depressed"
Else
MsgBox "it's not depressed"
End If



TC wrote:
>
> Hey All,
>
> I was wondering if there is a way to determine when Excel is in draw mode
> (i.e. click on the 'Select Objects' arrow on the Drawing toolbar)?
>
> Thanks,
>
> TC


--

Dave Peterson
 
Reply With Quote
 
TC
Guest
Posts: n/a
 
      6th Apr 2008
Hey Dave,

I'm sitting here smiling because I've been fiddling with the CommandBars
myself for the past 1/2 hour.

Agreed... I think that this is the way to go.

Thanks,

Todd


"Dave Peterson" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Maybe...
>
> If Application.CommandBars("Drawing") _
> .Controls("Select Objects").State = msoButtonDown Then
> MsgBox "It's depressed"
> Else
> MsgBox "it's not depressed"
> End If
>
>
>
> TC wrote:
>>
>> Hey All,
>>
>> I was wondering if there is a way to determine when Excel is in draw mode
>> (i.e. click on the 'Select Objects' arrow on the Drawing toolbar)?
>>
>> Thanks,
>>
>> TC

>
> --
>
> Dave Peterson



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help to get out of draw mode!?1 StargateFanFromWork Microsoft Excel Discussion 5 27th Dec 2005 09:05 PM
HotTrack on TabControl with Draw mode of OwnerDrawFixed in VB-VS20 =?Utf-8?B?TmVpbEc=?= Microsoft Dot NET Framework 8 12th Dec 2005 08:21 PM
How can I determine if the app is running in Debug mode or Release mode? Henry Padilla Microsoft VB .NET 4 5th May 2005 05:36 PM
How to determine the Duplex Mode of our PC's Mike Microsoft Windows 2000 Networking 1 16th Sep 2003 02:01 AM
how to draw bitmap in fullscreen mode PiyoPiyo Microsoft VB .NET 1 8th Sep 2003 05:28 PM


Features
 

Advertising
 

Newsgroups
 


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