Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default from browser opening csv in Excel and invoking template, how?

From IE, saving/exporting data to csv format then opening on desktop. Want
to open in a particular format (with headers and footers set up
automatically) but don;t know how to invoke a template in this case.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default from browser opening csv in Excel and invoking template, how?

I'd do this.

First, save the file with a different extension (.txt is fine).

Now start a new workbook.
Record a macro when you open this .txt file.
Use the import wizard to define each field
Add your headers/footers/filters/subtotals/pivottables/charts.
Stop recording

Now close that newly imported file (save it if you want).

Add a button from the forms toolbar to Sheet1 of that macro workbook. Assign
that recorded macro to the button.

Save this macro workbook.

Test it by clicking the button.

If the text file changes names, you can actually have the macro ask the user to
point at that file. If the text file doesn't change name, then the macro will
(er, should) run as recorded.



Axe Victim wrote:

From IE, saving/exporting data to csv format then opening on desktop. Want
to open in a particular format (with headers and footers set up
automatically) but don;t know how to invoke a template in this case.


--

Dave Peterson
Reply
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
Excel error - Startup (and Acrobat PDFMaker) gxdata Setting up and Configuration of Excel 0 February 4th 05 03:44 AM


All times are GMT +1. The time now is 05:02 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"