#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default VBA Forms

Hello,

I've created a vba form in excel which allows user to enter data. The form
is started using a macro.

Once the form is opened, I cannot access the worksheets until the form is
closed.

Is it possible to access the worksheets when a form is currently running ?
If so how can I do this ?

Thanks in adavnce.



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default VBA Forms

Sub showform()
UserForm1.Show vbModeless
End Sub

"frost" wrote:

Hello,

I've created a vba form in excel which allows user to enter data. The form
is started using a macro.

Once the form is opened, I cannot access the worksheets until the form is
closed.

Is it possible to access the worksheets when a form is currently running ?
If so how can I do this ?

Thanks in adavnce.




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 638
Default VBA Forms

On Sep 27, 8:26 pm, "frost" wrote:
Hello,

I've created a vba form in excel which allows user to enter data. The form
is started using a macro.

Once the form is opened, I cannot access the worksheets until the form is
closed.

Is it possible to access the worksheets when a form is currently running ?
If so how can I do this ?

Thanks in adavnce.


Depends on what version of Excel you are running. If you are using
Excel 2000 or higher, you can set the form to modeless when you
initially open the form. It can be done in prior versions as well,
but requires some API calls and such.
Sub showForm()
UserForm1.Show vbModeless
End Sub

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default VBA Forms

or just view the forms properties, go down to showmodal and change the value to
false.

--


Gary


"frost" wrote in message
...
Hello,

I've created a vba form in excel which allows user to enter data. The form is
started using a macro.

Once the form is opened, I cannot access the worksheets until the form is
closed.

Is it possible to access the worksheets when a form is currently running ? If
so how can I do this ?

Thanks in adavnce.





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
Excel forms - authorise / deny forms Ian Manning Excel Programming 1 May 8th 06 05:03 PM
RefEdits and normal forms / forms in a DLL David Welch Excel Programming 0 December 1st 04 03:49 PM
Forms that open from forms Azza Excel Programming 1 October 12th 04 10:54 PM
Forms No Name Excel Programming 1 August 27th 04 05:19 PM
Calling Forms from Forms - Exit problems Stuart[_5_] Excel Programming 3 May 25th 04 06:50 AM


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