Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() In MS-excel2003, when we click on a button we have to open a txt file which we already assigned.Please suggest vba code for this. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() If you're opening a text file, you'll probably want to parse each field according to rules that only you know. I'd suggest that you record a macro when you do it manually and you'll have code that works ok. tom wrote: In MS-excel2003, when we click on a button we have to open a txt file which we already assigned.Please suggest vba code for this. -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi Tom, You should be able to record a macro to open the file. If you need further help to modify the recorded code to make it more dynamic to say match a filename in an existing worksheet or something then post the code you recorded and describe how you want to make the code more dynamic. -- Regards, OssieMac "tom" wrote: In MS-excel2003, when we click on a button we have to open a txt file which we already assigned.Please suggest vba code for this. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
open file with code | Excel Discussion (Misc queries) | |||
Open a file from vba code | Excel Programming | |||
Code to Open Excel File Please Help | Excel Discussion (Misc queries) | |||
How to open a zip file from the code? | Excel Programming | |||
VBA code to open file? | Excel Programming |