Results 1 to 5 of 5

Thread: [RESOLVED] VBA pop up

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2010
    Location
    Oslo
    Posts
    30

    Resolved [RESOLVED] VBA pop up

    Hi yall.

    I'm sitting here getting a bit frustrated, as i usually do, when i'm sitting with this codes that doesnt work for me.

    The pop up loads, but i get an error message, as attached images tells.

    Private Sub CommandButton1_Click()
    With ActiveDocument
    .Bookmarks("bmKursdato").Range ("TextBox1")
    .InsertBefore TextBox1
    .Bookmarks("bmKursklokke").Range ("TextBox2")
    .InsertBefore TextBox2
    .Bookmarks("bmTamed").Range ("TextBox3")
    .InsertBefore TextBox3
    End With
    UserForm1.hide
    End Sub

    Where do i do the wrong code?

    Thank you
    Attached Images Attached Images   
    Attached Files Attached Files

Tags for this Thread

Posting Permissions

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



Click Here to Expand Forum to Full Width