Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default define a print area and name it based on info in first cell in a row...

Here where I work I get a report from an mrp system that is formated in
the folowing way:

Project Task Cost Backlog Wip (This is a header)
Proj-0001 100 50 50
100 Engineering
info1 1252
info2 2258
200 Manufact.
info1 2252
info2 2252
(Blank Row)
Proj-0002 199 49 50
100 Engineering
info1 1252
info2 5258
200 Manufact.
info1 2452
info2 2220

ETC....(about 300 diferent projects)


The only constants in the report are the number of columns (always A to
P)
and the blank line at the end of each project as a separator.

What I need to do is the following create a named area that starts at
the project name and ends at the blank row. The name is derived from
the project name. The idea is to be able to print and sort these areas
based on the project name from a selection form. I think I should be
able to create the form portion but I dont know how to create the named
areas. Maybe there is a better way ???

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default define a print area and name it based on info in first cell in arow...

You may be able to print your ranges using those names, but I don't think you'll
have much luck sorting that stuff.

If I had to do this, I'd get rid of the blank lines and make sure that each row
had all the data for that project on it.

If you want to try that, Debra Dalgleish has some techniques at:
http://contextures.com/xlDataEntry02.html

By having all the data on each row, life will become much easier--sorts,
pivottables, charts, subtotals, autofilters... lots of stuff.


Chris Salcedo wrote:

Here where I work I get a report from an mrp system that is formated in
the folowing way:

Project Task Cost Backlog Wip (This is a header)
Proj-0001 100 50 50
100 Engineering
info1 1252
info2 2258
200 Manufact.
info1 2252
info2 2252
(Blank Row)
Proj-0002 199 49 50
100 Engineering
info1 1252
info2 5258
200 Manufact.
info1 2452
info2 2220

ETC....(about 300 diferent projects)

The only constants in the report are the number of columns (always A to
P)
and the blank line at the end of each project as a separator.

What I need to do is the following create a named area that starts at
the project name and ends at the blank row. The name is derived from
the project name. The idea is to be able to print and sort these areas
based on the project name from a selection form. I think I should be
able to create the form portion but I dont know how to create the named
areas. Maybe there is a better way ???


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default define a print area and name it based on info in first cell in a row...

I was just thinking that what I could do is fill down the first column
with the project name so I can group by the first cell and I could sort
and define print areas that way, something like if next cell is empty
fill with previous cell data... Any easy way to do this ????

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default define a print area and name it based on info in first cell in arow...

Look at Debra's site. She has a couple of ways of doing just that.

Chris Salcedo wrote:

I was just thinking that what I could do is fill down the first column
with the project name so I can group by the first cell and I could sort
and define print areas that way, something like if next cell is empty
fill with previous cell data... Any easy way to do this ????


--

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
Cell borders do not print on one side of print area?? alan82 Excel Discussion (Misc queries) 4 May 3rd 23 07:42 PM
dynamic print area based on cell value [email protected] Excel Worksheet Functions 2 June 14th 06 04:23 AM
Active cell counting in particular print page (one sheet having different print area) ananthmca2004 Excel Worksheet Functions 1 November 24th 05 11:29 AM
Help recording a macro to define print area John[_82_] Excel Programming 1 April 28th 04 02:45 PM
Highlighting a Block of Cells to Define the Print Area Mark[_22_] Excel Programming 8 November 18th 03 03:43 AM


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