Question : SBS 2008 BPA - User Account delete?

Trying to clear my last few BPA issues

The user account Admin does not have the attributes that are necessary for it to display in the Windows SBS Console.

Now i think this is a "rogue" account that was setup somewhere.  Is there a log i can check to see when it was last used with a view to removing it if not a current user.

TIA

Answer : SBS 2008 BPA - User Account delete?

Hello biker9,

when you use CopyPicture, you are copying the image as it appears on the screen. The print settings for the shape are ignored. It's rather like taking a screenshot, not like sending the range to the printer (in which case the shape would not be printed).

As a workaround, you can set the fill and border of the shape to msoFalse before copying the range (as a range or a picture) and then, after the copy operation, restore the fill and border (with msoTrue)

The attached code snippet works on your example.

cheers, teylyn
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
Sub Print_as_Pic()
'
    With ActiveSheet.Shapes.Range(Array("Rectangle 11"))
        .Fill.Visible = msoFalse
        .Line.Visible = msoFalse
    End With
    Range("B2:F22").Copy Range("J2")
    With ActiveSheet.Shapes.Range(Array("Rectangle 11"))
        .Fill.Visible = msoTrue
        .Line.Visible = msoTrue
    End With
    Range("P4").Select

End Sub
Random Solutions  
 
programming4us programming4us