Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default default form behavior

is there any way to change the default form behavior from modal to modeless.
it's my own fault, but i end up losing more code when i create a form to perform
a printpreview. i always forget to change it.

--


Gary



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default default form behavior

Set the ShowModal property to False.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
is there any way to change the default form behavior from modal to
modeless. it's my own fault, but i end up losing more code when i create a
form to perform a printpreview. i always forget to change it.

--


Gary




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default default form behavior

i know how to do it, i want the default property set to false every time i
create a form, so i don't have to remember to do it..

--


Gary


"Chip Pearson" wrote in message
...
Set the ShowModal property to False.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
is there any way to change the default form behavior from modal to modeless.
it's my own fault, but i end up losing more code when i create a form to
perform a printpreview. i always forget to change it.

--


Gary






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default default form behavior

There is no way to change the default value. You could write an add-in with
a command to insert a form with code like

Dim UF As Object
With Application.VBE.ActiveVBProject
Set UF = .VBComponents.Add(vbext_ct_MSForm)
UF.Properties("ShowModal").Value = False
End With


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)



"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
i know how to do it, i want the default property set to false every time i
create a form, so i don't have to remember to do it..

--


Gary


"Chip Pearson" wrote in message
...
Set the ShowModal property to False.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
is there any way to change the default form behavior from modal to
modeless. it's my own fault, but i end up losing more code when i create
a form to perform a printpreview. i always forget to change it.

--


Gary







  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default default form behavior

ok, thanks for the idea, chip.

--


Gary


"Chip Pearson" wrote in message
...
There is no way to change the default value. You could write an add-in with a
command to insert a form with code like

Dim UF As Object
With Application.VBE.ActiveVBProject
Set UF = .VBComponents.Add(vbext_ct_MSForm)
UF.Properties("ShowModal").Value = False
End With


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)



"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
i know how to do it, i want the default property set to false every time i
create a form, so i don't have to remember to do it..

--


Gary


"Chip Pearson" wrote in message
...
Set the ShowModal property to False.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
is there any way to change the default form behavior from modal to
modeless. it's my own fault, but i end up losing more code when i create a
form to perform a printpreview. i always forget to change it.

--


Gary









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
Changing Default Paste behavior D Riggins Excel Discussion (Misc queries) 1 November 5th 08 07:56 PM
Setting Up Default Behavior PZ Excel Discussion (Misc queries) 4 February 24th 07 03:56 AM
How do I change the default Paste behavior Adam Bell Excel Discussion (Misc queries) 3 August 20th 05 05:05 AM
How do I change the default paste behavior Adam Bell Excel Discussion (Misc queries) 0 August 18th 05 06:21 PM
Text Only Default Behavior? Kirk P. Excel Discussion (Misc queries) 3 August 7th 05 10:55 PM


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