PC Review


Reply
Thread Tools Rate Thread

Document Properties - printing

 
 
Sandi
Guest
Posts: n/a
 
      21st Nov 2003
Any idea of how I can get the document properties of an
Excel worksheet to print?
 
Reply With Quote
 
 
 
 
Ron de Bruin
Guest
Posts: n/a
 
      21st Nov 2003
You can place the properties you want on a empty sheet and print it
Run this macro on a empty sheet
Sub test()
rw = 1
Worksheets(1).Activate
For Each p In ActiveWorkbook.BuiltinDocumentProperties
On Error Resume Next
Cells(rw, 1).Value = p.Name
Cells(rw, 2).Value = p.Value
rw = rw + 1
On Error GoTo 0
Next
End Sub


--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2002 SP-2)
www.rondebruin.nl



"Sandi" <(E-Mail Removed)> wrote in message news:015e01c3b000$ac6a1db0$(E-Mail Removed)...
> Any idea of how I can get the document properties of an
> Excel worksheet to print?



 
Reply With Quote
 
Ron de Bruin
Guest
Posts: n/a
 
      21st Nov 2003
Note : this example use the first sheet of the workbook
>Worksheets(1).Activate




--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2002 SP-2)
www.rondebruin.nl



"Ron de Bruin" <(E-Mail Removed)> wrote in message news:%(E-Mail Removed)...
> You can place the properties you want on a empty sheet and print it
> Run this macro on a empty sheet
> Sub test()
> rw = 1
> Worksheets(1).Activate
> For Each p In ActiveWorkbook.BuiltinDocumentProperties
> On Error Resume Next
> Cells(rw, 1).Value = p.Name
> Cells(rw, 2).Value = p.Value
> rw = rw + 1
> On Error GoTo 0
> Next
> End Sub
>
>
> --
> Regards Ron de Bruin
> (Win XP Pro SP-1 XL2002 SP-2)
> www.rondebruin.nl
>
>
>
> "Sandi" <(E-Mail Removed)> wrote in message news:015e01c3b000$ac6a1db0$(E-Mail Removed)...
> > Any idea of how I can get the document properties of an
> > Excel worksheet to print?

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PRINTING DOCUMENT PROPERTIES F@u Microsoft Word Document Management 0 5th Jun 2010 10:41 AM
How to avoid printing blank/empty "Document Properties" leewilmott Microsoft Word Document Management 3 1st Mar 2010 11:18 AM
Stop printing document properties with every print job AFlorakis Microsoft Word Document Management 1 22nd Apr 2008 11:38 PM
Advanced Document Properties to Standard Properties Window? TychaBrahe Microsoft Word Document Management 1 3rd Apr 2008 12:25 AM
Printing Document Properties AnytimeAnywhere Microsoft Excel Discussion 1 4th Oct 2005 04:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:02 PM.