If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Secure Printing

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-21-10, 13:43
nogoodnames nogoodnames is offline
Registered User
 
Join Date: Mar 2010
Posts: 27
Secure Printing

I have a very basic workbook created on my work pc, along with a set of very basic macros that look essentially like this:

Sub PrintMe()
Sheets("Sheet2").PrintOut
Sheets("Sheet1").Select
End Sub

Not exactly super advanced stuff. We use secure printing at work, so anything printed from my computer is held until I go to the printer, select my staff number from the list, enter in my passcode, and then it prints everything I've sent to the printer.

The macro works great on my pc, no problem at all. However, when I sent the workbook to a colleague.... the printing gets messed up. The first printout they do goes through as my staff number (but with my colleague's passcode). The subsequent prints work fine.

The macros are the same, and the problem exists regardless of which order they choose (either of the 4 macros which are the same, but point to different sheets).

Now... for the some reason, the first instance of any macro appears to be attaching itself to me as the author of the macro.

I'm stumped. Any thoughts or possible solutions for me? Any help is greatly appreciated!
Reply With Quote
  #2 (permalink)  
Old 12-21-10, 14:06
Colin Legg Colin Legg is offline
Registered User
 
Join Date: Sep 2008
Location: London, UK
Posts: 495
Hi,

When you send your workbook to your colleague, if your colleague tries to print a sheet by using the print button (ie. not using the macro), does the same problem occur on the first print?
__________________
Colin

RAD Excel Blog

Other tutorials:
Array Formulas | Deleting Rows with VBA
Reply With Quote
  #3 (permalink)  
Old 12-21-10, 14:08
nogoodnames nogoodnames is offline
Registered User
 
Join Date: Mar 2010
Posts: 27
No, printing without the macro appears to work fine.

This wouldn't be a big deal... but all the data is input on the first sheet, and the other sheets are populated by the data on the first. I don't really want people looking at the other sheets (or needing to look...), as the idea is to make it as quick and simple as possible to print the necessary document (sheet).

I've actually got tabs hidden to prevent (most) people from even knowing the sheets are there.
Reply With Quote
  #4 (permalink)  
Old 12-21-10, 18:08
Colin Legg Colin Legg is offline
Registered User
 
Join Date: Sep 2008
Location: London, UK
Posts: 495
That's really strange. I'm not sure why that would be.
When you send the file to your colleague, if he saves it before running the macro, does it work okay?

One suggestion I have is to go to Tools > Options > Security Tab > Tick the "Remove personal information from file properties on save" checkbox. Save the file and then send it to your colleague. This should remove your information from the workbook.
__________________
Colin

RAD Excel Blog

Other tutorials:
Array Formulas | Deleting Rows with VBA

Last edited by Colin Legg; 12-21-10 at 18:14.
Reply With Quote
  #5 (permalink)  
Old 12-22-10, 17:12
nogoodnames nogoodnames is offline
Registered User
 
Join Date: Mar 2010
Posts: 27
Sorry the delay in the reply.

Yes, the same problem still exists when my colleague saves the workbook to his computer first. We also tried saving the workbook on a network shared folder. Problem still persisted.

I will try your option about the removing personal information checkbox, and get back to you after work tomorrow. That's a very good suggestion!

Cheers for the help so far!
Reply With Quote
  #6 (permalink)  
Old 12-24-10, 11:19
nogoodnames nogoodnames is offline
Registered User
 
Join Date: Mar 2010
Posts: 27
Sorry again for the delay.

I tried your option, but didn't correct the problem. I'm close to giving up... but it seems like such a foolish problem to have to give up on...
Reply With Quote
  #7 (permalink)  
Old 12-29-10, 05:39
Colin Legg Colin Legg is offline
Registered User
 
Join Date: Sep 2008
Location: London, UK
Posts: 495
Sorry, I don't know why the software would be picking up that information. I'd suggest contacting your IT floor support or the software vendor.
__________________
Colin

RAD Excel Blog

Other tutorials:
Array Formulas | Deleting Rows with VBA
Reply With Quote
  #8 (permalink)  
Old 12-29-10, 07:42
nogoodnames nogoodnames is offline
Registered User
 
Join Date: Mar 2010
Posts: 27
I've tried the onsite IT support, and they were stumped as well. Saying exactly what you've said, that there's no reason it should be picking up the information.

I'm ready to give up to be honest, which is a shame. /shrug.

Thank you very much for your help though!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On