Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() well finaly i got it. and it works the final code is: -Private Sub cmdBestelnummerOpvragen_Click() Workbooks.Open Filename:="C:\Documents and Settings\leon\Bureaublad\groupagelijst.xls" frmBestellijst.Hide End Sub- but the next problem accurred. when i closed my ordernumber workbook, the workbook that i am working in showed the sheet and not my form. and this is what i'm preventing to show to the users, so when i close my openend workbook my form should apear on top again. i have fixed this by adding the following code to my workbook. -Private Sub Workbook_WindowActivate(ByVal Wn As Window) frmBestellijst.Show End Sub - so now it works the way i want it, thanx for the help -- eyesonly1965 ------------------------------------------------------------------------ eyesonly1965's Profile: http://www.excelforum.com/member.php...o&userid=34199 View this thread: http://www.excelforum.com/showthread...hreadid=541244 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to: Open closed workbook/Search data tables/Return data to open workbook | Excel Discussion (Misc queries) | |||
Opening Excel, Book1 opens, remains open with other workbook open | Excel Discussion (Misc queries) | |||
how do i open a data workbook when i open a timesheet workbook | Excel Discussion (Misc queries) | |||
excel 2003 saved file will not open without a blank workbook open | Excel Discussion (Misc queries) | |||
How do you program so that Workbook B cannot be open unless Workbook A is open? Plus I need to validation | Excel Programming |