+ Reply to Thread
Results 1 to 3 of 3

Excel and Watermarks

Hybrid View

HT1 Excel and Watermarks 03-14-2007, 01:45 AM
BigBas i dont believe excel has a... 03-14-2007, 02:05 AM
Bryan Hessey Hi, the code to do this is... 03-14-2007, 02:12 AM
  1. #1
    Registered User
    Join Date
    03-14-2007
    Posts
    1

    Excel and Watermarks

    How do you mark an excel sheet or workbook as being a draft? I am trying to acheive the effect you get when you use the watermark function in MS Word.

  2. #2
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    i dont believe excel has a watermark as an option. you can insert a background picture if necessary, but its not actually a watermark

  3. #3
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by HT1
    How do you mark an excel sheet or workbook as being a draft? I am trying to acheive the effect you get when you use the watermark function in MS Word.
    Hi,

    the code to do this is
    Option Explicit
    
    Sub WaterMarkerHL()
    Dim Mud As Integer, Dum As Object
    Mud = -80
    Application.ScreenUpdating = False
    Dim Page As Integer
      For Page = 1 To 14
        ActiveSheet.Shapes.AddTextEffect(msoTextEffect1, _
            "Waterymark", "Algerian", _
            40#, msoFalse, msoFalse, 269, 105#).Select
            Selection.Name = "Dum"
        With Selection
          .ShapeRange.Fill.Visible = msoTrue
          .ShapeRange.Fill.Solid
          .ShapeRange.Fill.ForeColor.SchemeColor = 22
          .ShapeRange.Fill.Transparency = 0.5
          .ShapeRange.Line.Visible = msoFalse
          .ShapeRange.IncrementRotation -26.22
          .ShapeRange.IncrementLeft Mud
          .ShapeRange.IncrementTop 100
        End With
            Mud = Mud + 624.5
     Next Page
    Range("L8").Select
    End Sub
    
    Sub WaterMarkerGone()
    Application.ScreenUpdating = False
    Dim Page As Integer
     For Page = 1 To 14
         ActiveSheet.Shapes("Dum").Select
            Selection.Cut
     Next Page
    End Sub
    Hope this helps.
    ---
    Si fractum non sit, noli id reficere.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1