Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a workbook open but not active named 123Q and a
Range("Input!ab2") = 123 Private Sub CommandButton2_Click() 'Generates PDF Quote Form Dim CurrentPrinter As Variant Dim quotenumber As String Dim quotenumber1 As String quotenumber = Range("Input!ab2") quotenumber1 = quotenumber + "Q" + ".xls" 'Windows("quotenumber1").Activate Why do i get an error message "subscript out of range" oldjay |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Activate Workbook | Excel Programming | |||
Workbook.Activate / Window.Activate problem | Excel Programming | |||
Activate workbook | Excel Programming | |||
Workbook.activate | Excel Discussion (Misc queries) | |||
Activate Workbook | Excel Programming |