PC Review


Reply
Thread Tools Rate Thread

add page break code in csv file to force break when loading.

 
 
tim
Guest
Posts: n/a
 
      30th Mar 2004
I need an example of what code string to use to have excel
add page breaks automaticly when the user open a CSV file.

I need the csv file to contain the code string to add page
breaks before it is opened in excel.
i.e.
report of account
3/30/2004

user , acct number , amt
1 , 1 , $1.00
..
..
..

(page break code)
report of account
3/30/2004

user , acct number , amt
..

etc.

TIA
 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      31st Mar 2004
CSV files are plain text.

Can you provide your users a macro that would import the .csv file and then add
the page breaks?

Maybe you could provide some other formatting/subtotals/print setup and really
make it worthwhile.



tim wrote:
>
> I need an example of what code string to use to have excel
> add page breaks automaticly when the user open a CSV file.
>
> I need the csv file to contain the code string to add page
> breaks before it is opened in excel.
> i.e.
> report of account
> 3/30/2004
>
> user , acct number , amt
> 1 , 1 , $1.00
> .
> .
> .
>
> (page break code)
> report of account
> 3/30/2004
>
> user , acct number , amt
> .
>
> etc.
>
> TIA


--

Dave Peterson
(E-Mail Removed)
 
Reply With Quote
 
tim
Guest
Posts: n/a
 
      31st Mar 2004
I wish I could use either of these options.
but I have to code to the worst possible users and it also
hard to tell the managers that they need training without
it coming back on a review.

is there a format that could be use, that would format the
data when loaded?
it needs to do this when the user doubleclicks the file ,
it's the only way that most know how to open these files.

having them open excel or running a macro is not
acceptable to them. ( they get a e-mail with a link to the
file and doubleclick it to open)

>-----Original Message-----
>CSV files are plain text.
>
>Can you provide your users a macro that would import

the .csv file and then add
>the page breaks?
>
>Maybe you could provide some other

formatting/subtotals/print setup and really
>make it worthwhile.
>
>
>
>tim wrote:
>>
>> I need an example of what code string to use to have

excel
>> add page breaks automaticly when the user open a CSV

file.
>>
>> I need the csv file to contain the code string to add

page
>> breaks before it is opened in excel.
>> i.e.
>> report of account
>> 3/30/2004
>>
>> user , acct number , amt
>> 1 , 1 , $1.00
>> .
>> .
>> .
>>
>> (page break code)
>> report of account
>> 3/30/2004
>>
>> user , acct number , amt
>> .
>>
>> etc.
>>
>> TIA

>
>--
>
>Dave Peterson
>(E-Mail Removed)
>.
>

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      1st Apr 2004
I think anything you embed into a text file will be treated as text by excel.

Any chance you could do the import yourself and have the link point to the .xls
file?

===
I create a few .txt files that I have to share.

I dump the .txt file to the same location and the same name every morning. (A
common network drive.)

I've given them a workbook with a giant button (from the Forms toolbar) on the
single sheet in the workbook.

It says: Click Here to Import Your Data

They click the button and the macro opens that file and formats it the way I
like. And then saves it their harddrive using today's date as part of the
filename.

They have historical data if they need it and if they don't, they can just dump
it later.

When the .txt file changes format, I send out a new importer workbook.



tim wrote:
>
> I wish I could use either of these options.
> but I have to code to the worst possible users and it also
> hard to tell the managers that they need training without
> it coming back on a review.
>
> is there a format that could be use, that would format the
> data when loaded?
> it needs to do this when the user doubleclicks the file ,
> it's the only way that most know how to open these files.
>
> having them open excel or running a macro is not
> acceptable to them. ( they get a e-mail with a link to the
> file and doubleclick it to open)
>
> >-----Original Message-----
> >CSV files are plain text.
> >
> >Can you provide your users a macro that would import

> the .csv file and then add
> >the page breaks?
> >
> >Maybe you could provide some other

> formatting/subtotals/print setup and really
> >make it worthwhile.
> >
> >
> >
> >tim wrote:
> >>
> >> I need an example of what code string to use to have

> excel
> >> add page breaks automaticly when the user open a CSV

> file.
> >>
> >> I need the csv file to contain the code string to add

> page
> >> breaks before it is opened in excel.
> >> i.e.
> >> report of account
> >> 3/30/2004
> >>
> >> user , acct number , amt
> >> 1 , 1 , $1.00
> >> .
> >> .
> >> .
> >>
> >> (page break code)
> >> report of account
> >> 3/30/2004
> >>
> >> user , acct number , amt
> >> .
> >>
> >> etc.
> >>
> >> TIA

> >
> >--
> >
> >Dave Peterson
> >(E-Mail Removed)
> >.
> >


--

Dave Peterson
(E-Mail Removed)
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Force a page break in code Bill Microsoft Access Reports 6 28th Oct 2009 07:28 PM
force a page break =?Utf-8?B?UGFtIENvbGVtYW4=?= Microsoft Access Reports 1 18th Sep 2006 02:41 PM
Force Page Break =?Utf-8?B?QnVyZ2VyMjM=?= Microsoft Outlook Contacts 2 22nd Feb 2005 07:57 PM
Force page break Les Microsoft Access Reports 1 6th Mar 2004 03:10 AM
Force CSV page Break MauditOstie Microsoft Excel Misc 2 26th Nov 2003 05:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:57 AM.