PC Review


Reply
Thread Tools Rate Thread

be able to access worksheet while form is running

 
 
Monte0682
Guest
Posts: n/a
 
      5th Mar 2007
How is this possible to do? I want to run a form and be able to select
what worksheet I want...

 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      5th Mar 2007
Private Sub Userform_Initialize()
Dim sh as Worksheet
for each sh in worksheets
combobox1.AddItem sh.Name
Next
End Sub

Private Sub Combobox1_Click()
if combobox1.ListIndex <> -1 then _
worksheets(combobox1.Value).Activate
End sub

--
Regards,
Tom Ogilvy

"Monte0682" wrote:

> How is this possible to do? I want to run a form and be able to select
> what worksheet I want...
>
>

 
Reply With Quote
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      5th Mar 2007
If you mean physically select a sheet while the userform is displayed

Userform1.show vbModeless

--
Regards,
Tom Ogilvy


"Monte0682" wrote:

> How is this possible to do? I want to run a form and be able to select
> what worksheet I want...
>
>

 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      5th Mar 2007
There is a set of tabs at the bottom of the workbook. And you can see the
list by right-clicking the navigation buttons to the left of them.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Monte0682" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> How is this possible to do? I want to run a form and be able to select
> what worksheet I want...
>



 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      5th Mar 2007
oops, mis-read it.

Try

Worksheets("Sheet2").Activate

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Monte0682" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> How is this possible to do? I want to run a form and be able to select
> what worksheet I want...
>



 
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
Running form without opening access? =?Utf-8?B?QUo=?= Microsoft Access Getting Started 1 6th Nov 2007 04:48 PM
Running a stored procedure from Access form =?Utf-8?B?VmFkaW0gUG9rb3RpbG92?= Microsoft Access Forms 1 19th Jan 2006 04:04 PM
Running MS Access Report form VB.net David Microsoft Access 1 30th Apr 2005 01:16 AM
Re: Is it possible to calculate running sums in an access form Nikos Yannacopoulos Microsoft Access Forms 4 11th Aug 2004 05:16 PM
Form BeforeUpdate Event Is Running Only Once (Access 97) Ryan Microsoft Access Form Coding 4 5th Aug 2004 09:00 PM


Features
 

Advertising
 

Newsgroups
 


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