Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Private Sub TB_ImportIntoBook_Enter()
'MsgBox "This is enter" Openwkb = Application.GetOpenFilename("FileToImportInto, *.xls") Workbooks.Open (Openwkb) TB_ImportIntoBook.Value = Openwkb End Sub I have the above code in a form. This code is in a text box and runs when users enter in the text box. I can not open excel fie. If I comment out the like "Workbooks.Open (Openwkb)" the form work fine but also does not open the file. I want the file to open also then user selects the file. Can anyone help me with this. Is this possible or I am trying to do something that is not possible. Please let me know Regards Sonu. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA open file from a form | Excel Discussion (Misc queries) | |||
Open Last Modified File form Location | Excel Discussion (Misc queries) | |||
Open Form when file opened | Excel Discussion (Misc queries) | |||
Open Form Automatically in Excel File | New Users to Excel | |||
Need a psswd verification form to open when the file is opened | Excel Programming |