LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Writing a macro in Excel that Refreshes External Imported Text File

Hi there, I am trying to write a macro that simply refreshes a
spreadsheet that has imported external data. I tried to record a
macro, but I cannot have trhe click on the "Import" button as part of
the macro. Is there anyone who can help me with that simple code.
Currently, the macro just click on the DATA tab and chooses DATA
REFRES. I need to a line that will just click on the "Import" button.
Because the default file to be imported is correct so I don't need to
choose a file. Many thanks

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
formatting a text file imported into excel GinaH Excel Worksheet Functions 1 August 6th 09 08:30 PM
Macro to change sign on text file imported to Excel BC Excel Programming 4 July 27th 07 03:06 PM
How do I place an imported external data text filename in a Worksh sadi9 Excel Programming 0 November 19th 04 10:41 PM
Parsing imported text file with macro... help! scrupul0us[_2_] Excel Programming 0 September 7th 04 10:13 PM
Writing a macro to change external links to manual updating in Excel 2000 John Wirt[_5_] Excel Programming 6 February 16th 04 08:03 AM


All times are GMT +1. The time now is 10:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"