Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default Importing text files

I did a search on the message board on this subject, but wanted to ask
another question in conjunction with what was asked. When importing a text
file using vb script, is there a way to set breaklines as well? I know
where they would go. I just dont know how I would manipulate the script to
set the breaklines where I want.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Importing text files

If you mean "page break" this is example that adds three:

Sub a()
Dim Cell As Range
For Each Cell In Range("A10,A15,A20")
Cell.PageBreak = xlManual
Next
End Sub


--
Jim Rech
Excel MVP
"Dominique Feteau" wrote in message
...
|I did a search on the message board on this subject, but wanted to ask
| another question in conjunction with what was asked. When importing a
text
| file using vb script, is there a way to set breaklines as well? I know
| where they would go. I just dont know how I would manipulate the script
to
| set the breaklines where I want.
|
|


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
Importing Large Text Files lotstolearn Excel Discussion (Misc queries) 1 September 26th 08 08:55 PM
Importing text-files GARY Excel Discussion (Misc queries) 6 December 13th 06 02:57 PM
Importing Text Files smith_gw Excel Discussion (Misc queries) 1 May 5th 05 10:42 PM
importing text files msweeney Excel Programming 3 September 24th 03 01:49 AM


All times are GMT +1. The time now is 04:15 PM.

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"