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
In reply to Re: Win32::OLE first page header/footer how?
by NetWallah
in thread Win32::OLE first page header/footer how?
by boat73
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |