Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.computer > #10555
| From | Martin Brown <'''newspam'''@nezumi.demon.co.uk> |
|---|---|
| Newsgroups | alt.computer, sci.electronics.design |
| Subject | Re: OT: Excess output "picture" clutter from Excel |
| Date | 2017-11-13 09:34 +0000 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <oubovn$fkb$1@gioia.aioe.org> (permalink) |
| References | <KCsNB.30012$7V7.2215@fx05.iad> <6kmc0d1t6284ojn8f5mbc19ioe17mliljr@4ax.com> <ecoc0dh7ud0d00g852noe2pjv9hv67m550@4ax.com> <SnUNB.1555$7c4.26@fx21.iad> |
Cross-posted to 2 groups.
On 12/11/2017 09:20, Robert Baer wrote:
> Martin Riddle wrote:
>> On Fri, 10 Nov 2017 18:04:14 -0800, John Larkin
>> <jjlarkin@highland_snip_technology.com> wrote:
>>
>>> On Fri, 10 Nov 2017 17:45:07 -0800, Robert Baer
>>> <robertbaer@localnet.com> wrote:
>>>
>>>> Offending Excel instruction shown:
>>>> vNam = Cells(2, 7).Text + "V" 'board voltage
>>>> pPath = "G:\ANALOG\HVREG\Boards\TITANTWO\CodatronD\"
>>>> 'ActiveSheet.Shapes(1).Select
>>>> 'Application.ActivePrinter = "Acrobat PDFWriter on FILE:"
>>>> ' Above statements have zero effect
>>>>
>>>> ' This next statement ADDS the non-removeable fluke
>>>> ActiveWindow.SelectedSheets.PrintOut Copies:=1, Preview:=False, _
>>>> ActivePrinter:="Acrobat PDFWriter on FILE:", PrintToFile:=True, _
>>>> Collate:=False, PrToFileName:=pPath + vNam
>>>>
>>>> Kill pPath + vNam 'only PDF left
>>>> Open pPath + "Log.TXT" For Append As #1
>>>> Print #1, vNam, Cells(3, 7)
>>>> Close
>>>>
>>>> So i am a purist; if i am bold enough to SAVE the program, the next
>>>> time i wish to use it, that "outline" is seen.
>>>> There is no effect on my printout or how the program (seems) to
>>>> operate.
>>>> It is IMPOSSIBLE to remove; it is NOT a "shape".
>>>>
>>>> Ideas?
>>>
>>>
>>> Never use Excel!
>>
>> Maybe it's Excel 2000 or some archaic version.
It is user error pure and simple. Two short planks problem.
> That "dotted frame" is an indicator of a selected print area.
> Easily removed MANUALLY.
> "PrintArea" seems to be a reserved word for a Function/Method, but
> there is ZERO info on use ANYWHERE, so (in a macro) one cannot do a
> File.PrintArea.Deselect or a File.PrintArea.Clear
Whilst am am inclined to think that MickeySoft definition of Help is
never very good since they include trivia and miss out key info this is
not one of them. Type "PrintArea" into Excel developer help and you get:
> Excel Developer Reference
> PageSetup.PrintArea Property
> Returns or sets the range to be printed, as a string using A1-style references in the language of the macro. Read/write String.
> Syntax
>
> expression.PrintArea
>
> expression A variable that represents a PageSetup object.
>
> Remarks
>
>
> Set this property to False or to the empty string ("") to set the print area to the entire sheet.
>
> This property applies only to worksheet pages.
>
>
> Example
>
>
> This example sets the print area to cells A1:C5 on Sheet1.
>
> Visual Basic for Applications
> Worksheets("Sheet1").PageSetup.PrintArea = "$A$1:$C$5"
>
> This example sets the print area to the current region on Sheet1. Note that you use the Address property to return an A1-style address.
>
> Visual Basic for Applications
> Worksheets("Sheet1").Activate
> ActiveSheet.PageSetup.PrintArea = _
> ActiveCell.CurrentRegion.Address
>
>
> © 2010 Microsoft Corporation. All rights reserved.
>
>
He's a clueless fuckwit. Incapable of using the Excel help system.
--
Regards,
Martin Brown
Back to alt.computer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
OT: Excess output "picture" clutter from Excel Robert Baer <robertbaer@localnet.com> - 2017-11-10 17:45 -0800
Re: OT: Excess output "picture" clutter from Excel John Larkin <jjlarkin@highland_snip_technology.com> - 2017-11-10 18:04 -0800
Re: OT: Excess output "picture" clutter from Excel Martin Riddle <martin_ridd@verizon.net> - 2017-11-10 21:36 -0500
Re: OT: Excess output "picture" clutter from Excel Robert Baer <robertbaer@localnet.com> - 2017-11-12 01:20 -0800
Re: OT: Excess output "picture" clutter from Excel Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2017-11-13 09:34 +0000
Re: OT: Excess output "picture" clutter from Excel Robert Baer <robertbaer@localnet.com> - 2017-11-12 01:13 -0800
Re: OT: Excess output "picture" clutter from Excel John Larkin <jjlarkin@highlandtechnology.com> - 2017-11-12 07:47 -0800
Re: OT: Excess output "picture" clutter from Excel Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2017-11-12 09:58 -0700
Re: OT: Excess output "picture" clutter from Excel Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2017-11-12 11:18 -0700
Re: OT: Excess output "picture" clutter from Excel Robert Baer <robertbaer@localnet.com> - 2017-11-12 23:28 -0800
Re: OT: Excess output "picture" clutter from Excel krw@notreal.com - 2017-11-12 18:31 -0500
Re: OT: Excess output "picture" clutter from Excel John Larkin <jjlarkin@highlandtechnology.com> - 2017-11-12 15:58 -0800
Re: OT: Excess output "picture" clutter from Excel krw@notreal.com - 2017-11-12 19:53 -0500
Re: OT: Excess output "picture" clutter from Excel John Larkin <jjlarkin@highlandtechnology.com> - 2017-11-12 19:23 -0800
Re: OT: Excess output "picture" clutter from Excel krw@notreal.com - 2017-11-13 20:33 -0500
Re: OT: Excess output "picture" clutter from Excel John Larkin <jjlarkin@highlandtechnology.com> - 2017-11-13 20:28 -0800
Re: OT: Excess output "picture" clutter from Excel krw@notreal.com - 2017-11-14 20:54 -0500
Re: OT: Excess output "picture" clutter from Excel Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2017-11-13 09:39 +0000
Re: OT: Excess output "picture" clutter from Excel John Larkin <jjlarkin@highlandtechnology.com> - 2017-11-13 07:06 -0800
Re: OT: Excess output "picture" clutter from Excel Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2017-11-13 16:32 +0000
Re: OT: Excess output "picture" clutter from Excel Robert Baer <robertbaer@localnet.com> - 2017-11-12 23:21 -0800
Re: OT: Excess output "picture" clutter from Excel John Larkin <jjlarkin@highlandtechnology.com> - 2017-11-13 07:07 -0800
csiph-web