Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello...
I have a worbook with huge data. I have to update data in this workbook using other workbook. I have created one useform which performs lot of activities. For one specific requirement, I want one field on userform where user will enter name of the workbook (with its path) from where I have to pick data. Then after getting that information, I will use that workbook and its data in my macro. Is it possible to add this feature on userform? Thank You PRML |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Put a button on the form to call:
Dim s As String Sub dural() s = Application.GetOpenFilename End Sub s will have the full path/filename -- Gary''s Student - gsnu200802 "Pawan" wrote: Hello... I have a worbook with huge data. I have to update data in this workbook using other workbook. I have created one useform which performs lot of activities. For one specific requirement, I want one field on userform where user will enter name of the workbook (with its path) from where I have to pick data. Then after getting that information, I will use that workbook and its data in my macro. Is it possible to add this feature on userform? Thank You PRML |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You need to add a Textbox to the userform. then like gary said have the
click macro for the text box call GetOpenFilename and put the filename into the textbox. GetOpenFilename will only return a filename that exists. If you want an option to either get an existing filename or create a new filename then use GetSaveAsFilename instead of GetOpenFileName. "Pawan" wrote: Hello... I have a worbook with huge data. I have to update data in this workbook using other workbook. I have created one useform which performs lot of activities. For one specific requirement, I want one field on userform where user will enter name of the workbook (with its path) from where I have to pick data. Then after getting that information, I will use that workbook and its data in my macro. Is it possible to add this feature on userform? Thank You PRML |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Taking w/sheets out of a workbook | Excel Discussion (Misc queries) | |||
Excel Macro for taking data external data and populating it on a sheet and deleting unwanted data | Excel Programming | |||
Taking specific rows from on workbook to create another workbook | Excel Worksheet Functions | |||
Taking a workbook out of Data Tracking | Excel Worksheet Functions | |||
taking data at end of column and sending it to cell in another workbook | Excel Programming |