|
-
Oct 21st, 2004, 07:31 PM
#1
Thread Starter
New Member
Switching Between workbooks while Form is running on one of the workbook
Hi,
I have a VBA program tht runs a VB form ,The user requirement is to switch between workbooks while they r using forms tht r already open and r avaliable in the taskbar.I am unable to do this as the form is running and it cant switch to another workbook tht is already open.But they are able to view the file if they open the file from Start->Run-> .
Could any of you share ur expertise asap??
-
Oct 22nd, 2004, 06:36 AM
#2
Re: Switching Between workbooks while Form is running on one of the workbook
Originally posted by khader
Hi,
I have a VBA program tht runs a VB form ,The user requirement is to switch between workbooks while they r using forms tht r already open and r avaliable in the taskbar.I am unable to do this as the form is running and it cant switch to another workbook tht is already open.But they are able to view the file if they open the file from Start->Run-> .
Could any of you share ur expertise asap??
1) VB form... pop up from excel or actual vb.?
2) What code are you using atm?
3) Proper variables/objects or the selection/range object?
4) Use a drop down or two on the form to list open/available workbooks/sheets.
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
-
Oct 22nd, 2004, 11:44 AM
#3
Thread Starter
New Member
Re: Re: Switching Between workbooks while Form is running on one of the workbook
Originally posted by Ecniv
1) VB form... pop up from excel or actual vb.?
2) What code are you using atm?
3) Proper variables/objects or the selection/range object?
4) Use a drop down or two on the form to list open/available workbooks/sheets.
Hi Ecniv,
I am running the Vb form on excel by programming it using VB for Application (VBA) my code reads something like this
start form()
userform1.show()
end sub
userform1.activate()
listbox1.additem("a")
listbox1.additem("a")
listbox1.additem("a")
end sub
-------
while running the userform1.activate
i would like to open up another excel file ,if you can gimme ur email id i can send in the file so thth the scenario is a bit clear?
my email id is [email protected]
Thanks
Khader
-
Oct 25th, 2004, 06:35 PM
#4
Thread Starter
New Member
Re: Re: Switching Between workbooks while Form is running on one of the workbook
Originally posted by Ecniv
1) VB form... pop up from excel or actual vb.?
2) What code are you using atm?
3) Proper variables/objects or the selection/range object?
4) Use a drop down or two on the form to list open/available workbooks/sheets.
Hi ,
I seem to have fixed this problem ,I loaded the form in modeless format and used the workbook change events . thanks a lot anyways,
Khader
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|