Thanks Thanks:  0
Likes Likes:  0
Results 1 to 7 of 7

Thread: text

  1. #1
    Board Regular
    Join Date
    Mar 2002
    Posts
    1,451
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I want to add a text via macro in my sheet.
    How to do it.
    Thanks.

  2. #2
    Board Regular
    Join Date
    Mar 2002
    Location
    Cincinnati, Ohio, USA
    Posts
    6,824
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Sheet1.Range("A1") = "Put Some Text Here"
    Is that it?
    Tom

  3. #3
    Board Regular
    Join Date
    Mar 2002
    Posts
    1,451
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    On 2002-04-24 01:05, TsTom wrote:
    Sheet1.Range("A1") = "Put Some Text Here"
    Is that it?
    Tom
    Thanks TOM : That's what I was looking for.
    Still a little question:
    The size of this text is 24.
    Now I want to add a date as 23.04.2002 but I receive #### because the size is to great.I want to keep^also a size of 24 for that date.
    Have you a solution?
    Thanks in advance.

  4. #4
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Sunny, spring-like Hull
    Posts
    3,339
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Would this do?

    Sheet1.Range("A1") = "Put Some Text Here"
    Columns("A").Autofit

  5. #5
    Board Regular
    Join Date
    Mar 2002
    Posts
    1,451
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    On 2002-04-24 01:27, Mudface wrote:
    Would this do?

    Sheet1.Range("A1") = "Put Some Text Here"
    Columns("A").Autofit
    Yes that works.But the size of my columns are changed.What I want is to keep the size of the columns and that the date is displayed over 2 or 3 columns.
    Is that possible?

  6. #6
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Sunny, spring-like Hull
    Posts
    3,339
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    If there's nothing in the column next to it, and your horizontal alignment is set to General then it should appear over a few columns.

  7. #7
    Board Regular
    Join Date
    Mar 2002
    Posts
    1,451
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    On 2002-04-24 01:49, Mudface wrote:
    If there's nothing in the column next to it, and your horizontal alignment is set to General then it should appear over a few columns.
    Many thanks.It works like I want.

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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