Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Josh Brien
 
Posts: n/a
Default Exporting from Excel to a text file

How do I export only the visible cells, not the hidden ones, in an Excel
spreadsheet to a text file?
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

Copy those visible cells to a new worksheet nad save from there (as .txt)?

Select your range
edit|goto|Special|visible cells only
edit|copy
to the new sheet
edit|paste



Josh Brien wrote:

How do I export only the visible cells, not the hidden ones, in an Excel
spreadsheet to a text file?


--

Dave Peterson
  #3   Report Post  
Josh Brien
 
Posts: n/a
Default

I was actually wanting to use a filter to gain the row of information I need
and export them to the text file using a button with a macro attached if it's
possible.

"Dave Peterson" wrote:

Copy those visible cells to a new worksheet nad save from there (as .txt)?

Select your range
edit|goto|Special|visible cells only
edit|copy
to the new sheet
edit|paste



Josh Brien wrote:

How do I export only the visible cells, not the hidden ones, in an Excel
spreadsheet to a text file?


--

Dave Peterson

  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

You could create a macro that would loop through the rows/cells and check the
columnwidth/rowheight. Then write the values out to that text file.

If you want to do that, you may want to review some code that other's have
written:

Chip Pearson's:
http://www.cpearson.com/excel/imptext.htm

J.E. McGimpsey's:
http://www.mcgimpsey.com/excel/textfiles.html

Earl Kiosterud's Text Write program:
www.smokeylake.com/excel
(or directly: http://www.smokeylake.com/excel/text_write_program.htm)

===
But I think I'd record a macro when I applied the filter and did that stuff
manually. If you need help, post back with what you've tried and I'm sure
someone will jump in to help.

Josh Brien wrote:

I was actually wanting to use a filter to gain the row of information I need
and export them to the text file using a button with a macro attached if it's
possible.

"Dave Peterson" wrote:

Copy those visible cells to a new worksheet nad save from there (as .txt)?

Select your range
edit|goto|Special|visible cells only
edit|copy
to the new sheet
edit|paste



Josh Brien wrote:

How do I export only the visible cells, not the hidden ones, in an Excel
spreadsheet to a text file?


--

Dave Peterson


--

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
Changing the format of an Excel output file made by Microsoft Access Amir Excel Discussion (Misc queries) 2 May 1st 05 12:57 AM
Excel File in Use Notification Missing?? JoD317 Excel Discussion (Misc queries) 6 April 19th 05 02:33 PM
Locating a file in excel with a partial file name. Audra Excel Discussion (Misc queries) 0 February 19th 05 02:03 PM
How do a convert a "text only (no formulas)" Excel (.xls) file to. Steve Excel Discussion (Misc queries) 1 February 2nd 05 05:55 PM
Saving a Excel 97 file into Excel 2003 file Wil Excel Discussion (Misc queries) 1 December 13th 04 11:51 PM


All times are GMT +1. The time now is 04:47 AM.

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

About Us

"It's about Microsoft Excel"