Results 1 to 7 of 7

Thread: double line spacing in a textbox

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2005
    Posts
    88

    double line spacing in a textbox

    Hi guys,

    I have decided a different way to translate the words, but I need to enter a TextBox into a word document. I have tried to create a text box in a word document with a macro recorder and also in visual basic editor but it does not allow me ( well with my basic knowledge).

    Any help would be great.


    Caz
    Last edited by caz1805; Apr 16th, 2006 at 05:51 PM. Reason: differnt question

  2. #2
    Lively Member New2vba's Avatar
    Join Date
    Sep 2005
    Location
    UK
    Posts
    95

    Re: inserting a text box

    If you simply want to add a textbox to a word document, place your cursor in the appropriate location within the document and select textbox from the control toolbox (View > Toolbars > Control Toolbox) to insert.

    Is this what you are trying to do?
    "Those things we must learn to do, we must learn by doing" (or hope somebody else will take pity and help out )

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Dec 2005
    Posts
    88

    Re: inserting a text box

    yeh that worked excellently thanks, but for some reason it would not let me change the size of the box, whilst I was recording the macro but it will when I am not.

    cheers again

  4. #4
    Lively Member New2vba's Avatar
    Join Date
    Sep 2005
    Location
    UK
    Posts
    95

    Re: inserting a text box

    No problem, happy to help (it is very rare that I can help anyone on these forums - generally it is me in need of help )

    Once the textbox has been inserted, you can change its properties by highlighting it, right click and select properties. Here you can resize it and much more.

    Alternatively, you can right click on the textbox and select format control. This will allow you to manipulate the textbox in much the same way you would an image.

    Is this now resolved?
    "Those things we must learn to do, we must learn by doing" (or hope somebody else will take pity and help out )

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Dec 2005
    Posts
    88

    Re: inserting a text box

    One more question, then resolved do u know how to do double line spacing in a text box?

    caz

  6. #6
    Lively Member New2vba's Avatar
    Join Date
    Sep 2005
    Location
    UK
    Posts
    95

    Re: inserting a text box

    I assume you are using a Multiline textbox?

    Anyway, I am afraid I don't know how to do that, although the spacing within a textbox is greater than single anyway I think (it looks that way on my screen).

    Hopefully somebody else can help.
    "Those things we must learn to do, we must learn by doing" (or hope somebody else will take pity and help out )

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Dec 2005
    Posts
    88

    Re: inserting a text box

    yeh using a multiline textbox, thanks for helping anyway mate was really useful.

    I have found this line of command that appears to change the line spacing, here it is.

    VB Code:
    1. Selection.TextRange.ParagraphFormat.SetLineSpacing _
    2.         Rule:=pbLineSpacingDouble, Spacing:=25

    But it never works and even when i change the spacing number, nothing works.

    caz

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