Results 1 to 5 of 5

Thread: [RESOLVED] VBA pop up

Threaded View

  1. #3

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

    Re: VBA pop up

    Ok, thanks. That solves the issue for my first textfield that i want to fill, but not the next two

    Highlightened and marked bm2 and bm3

    Private Sub CommandButton1_Click()
    With ActiveDocument.Bookmarks("bmKursdato").Range.Fields(1).Result.Text = TextBox1
    .Bookmarks("bmKurstid").Range.Fields(2).Result.Text = TextBox2
    .Bookmarks("bmTamed").Range.Fields(3).Result.Text = TextBox3
    End With
    UserForm1.hide
    End Sub
    Attached Images Attached Images  

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