in reply to Win32::OLE first page header/footer how?
This would avoid the apparent typo you have at "Description".sub FormatThis{ my %h = @_; foreach (keys %h){ $objSelection->Font->{Bold} = 1; $objSelection->TypeText($_); $objSelection->Font->{Bold} = 0; $objSelection->TypeText('' . $h{$_}); $objSelection->TypeParagraph(); } } ########################## # Now you can call it like this ... FormatThis( 'ARP Always Source Route: ' => $objItem->ArpAlwaysSource +Route, 'ARP Use EtherSNAP: ' => $objItem->ArpUseEtherSNAP, ); # Etc... }
..."I don't know what the facts are but somebody's certainly going to sit down with him and find out what he knows that they may not know, and make sure he knows what they know that he may not know, and that's a good thing. I think it's a very constructive exchange," --Donald Rumsfeld
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Win32::OLE first page header/footer how?
by boat73 (Scribe) on Jan 28, 2005 at 13:29 UTC |