Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default HOW DO I AUTOMATE CREATION OF JOB SHEETS?

Hi all,
I have a lot of customer data for job sheets that need printing out.
I was wondering would anyone know if it would be possible for Excel to read
in a data file, or even another excel spreadsheet and for each record/row
create a new Job Sheet. Otherwise I have to manually create one job sheet
for each row of customer data I have.
Can I automate this so Excel reads one row/record then writes or creates a
jobsheet, then does the same iteratively till it reaches the end of the
row(s)/record(s).
Any help on this would be much appreciated good folk .
Can you program with Excel like you can for example with Cobol ??

regs
Bobby.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 692
Default HOW DO I AUTOMATE CREATION OF JOB SHEETS?

Create a loop for your data sheets.
Use Worksheets.Add to add a new sheet
(you can also specify where that sheet goes)

Some people place it at the end of the workbook with
Worksheets.Add after:=ActiveWorkbook.Worksheets.Count

But be careful - you may create a heavy workbook.
And your workbook will slow down and the number of sheets
increases.

I have up to 100 sheets in one workbook and it hasn't slowed much,
but tests show that you will reach that point eventually.

--
steveB

Remove "AYN" from email to respond
"bobby smith" wrote in message
...
Hi all,
I have a lot of customer data for job sheets that need printing out.
I was wondering would anyone know if it would be possible for Excel to
read
in a data file, or even another excel spreadsheet and for each record/row
create a new Job Sheet. Otherwise I have to manually create one job sheet
for each row of customer data I have.
Can I automate this so Excel reads one row/record then writes or creates a
jobsheet, then does the same iteratively till it reaches the end of the
row(s)/record(s).
Any help on this would be much appreciated good folk .
Can you program with Excel like you can for example with Cobol ??

regs
Bobby.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,071
Default HOW DO I AUTOMATE CREATION OF JOB SHEETS?

Yes, it is possible to program with VBA, a language that works closely
with XL.

However, in your case, you may want to check out MS Word's Mail Merge
capability. Basically, in Word create a mail merge template and
specify your XL document as the data source. Word can merge the data
creating one copy of the template customized for each row of the data
source.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article , bobsmith34
@yahooligans.com says...
Hi all,
I have a lot of customer data for job sheets that need printing out.
I was wondering would anyone know if it would be possible for Excel to read
in a data file, or even another excel spreadsheet and for each record/row
create a new Job Sheet. Otherwise I have to manually create one job sheet
for each row of customer data I have.
Can I automate this so Excel reads one row/record then writes or creates a
jobsheet, then does the same iteratively till it reaches the end of the
row(s)/record(s).
Any help on this would be much appreciated good folk .
Can you program with Excel like you can for example with Cobol ??

regs
Bobby.



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
Looking to automate the creation of an org chart from a spreadshee Judi Excel Discussion (Misc queries) 3 May 18th 09 10:46 PM
Any Way to Automate Creation of Multiple Tables with Stock Data DQuint Excel Discussion (Misc queries) 1 December 20th 06 06:21 PM
Would Like to Automate Batch File Creation and Text FIle Import socrtwo Excel Discussion (Misc queries) 2 August 18th 06 03:54 PM
automate creation of sheets in excel Daniel Excel Worksheet Functions 1 June 23rd 05 10:06 PM
Automate PDF file creation in Excel code Ray[_11_] Excel Programming 5 May 17th 04 08:44 PM


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