Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am wondering how I can open "userform16" from a spread sheet called
"NPI data entry form" with another spread sheet called "TEAH entry" Both sheets would be open |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
one way. in the workbook with the userform, i used a workbook named weekly.xls:
Sub test2() UserForm16.Show End Sub then in the other workbook Sub test() Application.Run "Weekly.xls!test2" End Sub -- Gary wrote in message ... I am wondering how I can open "userform16" from a spread sheet called "NPI data entry form" with another spread sheet called "TEAH entry" Both sheets would be open |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Aug 8, 5:22*pm, "Gary Keramidas" <GKeramidasATmsn.com wrote:
one way. in the workbook with the userform, i used a workbook named weekly.xls: Sub test2() UserForm16.Show End Sub then in the other workbook Sub test() Application.Run "Weekly.xls!test2" End Sub -- Gary wrote in message ... I am wondering how I can open "userform16" from a spread sheet called "NPI data entry form" with another spread sheet called "TEAH entry" Both sheets would be open- Hide quoted text - - Show quoted text - If I run the macro to run the userform from the same spread sheet it works but if I run the macro that runs the macro I get a subscript out of range error |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
not sure what's going on without seeing it.
-- Gary wrote in message ... On Aug 8, 5:22 pm, "Gary Keramidas" <GKeramidasATmsn.com wrote: one way. in the workbook with the userform, i used a workbook named weekly.xls: Sub test2() UserForm16.Show End Sub then in the other workbook Sub test() Application.Run "Weekly.xls!test2" End Sub -- Gary wrote in message ... I am wondering how I can open "userform16" from a spread sheet called "NPI data entry form" with another spread sheet called "TEAH entry" Both sheets would be open- Hide quoted text - - Show quoted text - If I run the macro to run the userform from the same spread sheet it works but if I run the macro that runs the macro I get a subscript out of range error |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
when i use this:
Private Sub Workbook_BeforeClose(Cancel As Boolean) Application.Run "NPI data entry form.xls!Macro1" End Sub it says it cannot find the macro when i use this Private Sub Workbook_BeforeClose(Cancel As Boolean) Application.Run "'NPI data entry form.xls'!Macro1" End Sub i get subcript out of range |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I got it working
Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Time to open spread sheet | Excel Discussion (Misc queries) | |||
how do i enter a bull call spread into the options spread sheet ? | Excel Worksheet Functions | |||
can not open spread sheet file not recognised | Excel Discussion (Misc queries) | |||
how to open a spread sheet email | New Users to Excel | |||
Open a Spread Sheet In a Mdi form In Vb.net | Excel Programming |