home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / apps / spreadsh / 784 next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.6 KB

  1. Path: sparky!uunet!uswnvg!nv6.uswnvg.com!sbarton
  2. From: sbarton@uswnvg.com (Sue Barton)
  3. Newsgroups: comp.apps.spreadsheets
  4. Subject: Re: Excel: Extract Range Macro Question
  5. Message-ID: <3009@uswnvg.uswnvg.com>
  6. Date: 21 Dec 92 21:09:21 GMT
  7. References: <1992Dec19.153406.10405@news.acns.nwu.edu>
  8. Sender: news@uswnvg.uswnvg.com
  9. Organization: U S WEST NewVector Group, Inc.
  10. Lines: 29
  11. X-Newsreader: Tin 1.1 PL5
  12.  
  13. Stuart Baker (stubaker@casbah.acns.nwu.edu) wrote:
  14. : I have an Excel 4.0 problem I am hoping someone has a solution to:
  15. : I have a database setup where I am extracting data to an extract range
  16. : that is unlimited in nature.  Sometimes I extract a few records and
  17. : sometimes several hundred.  I want to write a macro that will select
  18. : the extracted data (no matter how many records are extracted) and re-
  19. : define that area as the print area.
  20. : My question is how do I "get" the extract range, so I can select it
  21. : and define the print area? Is there functions or macro commands that
  22. : will allow me to do this?
  23.  
  24.  
  25.  
  26. If you always extract to the same place you should be able to write
  27. a macro that inserts blank cells directly below your extract definition
  28. and above your extracted data, go to the top left cell of extracted data,
  29. and then hit the control shift 8 (a control asterisk) and that command
  30. will select all data that has a blank row above, below and blank columns
  31. beside on left and right.  You can then hit the set print area tool.
  32.  
  33. There is a tool that does that control shift 8 command it looks like a
  34. black bullet with arrows going away from center to top right, top left,
  35. bottom right and bottom left.
  36.  
  37.  
  38.  
  39.