+ Reply to Thread
Results 1 to 7 of 7

VBA Stop cells to cut of text in cell to the left

  1. #1
    Registered User
    Join Date
    01-23-2023
    Location
    Amsterdam
    MS-Off Ver
    Office 365
    Posts
    22

    VBA Stop cells to cut of text in cell to the left

    Hello,

    In the file attached is a draft version of a production planning tool. On the left side the orders are displayed, on the right side you can see the work week.
    Every order has a certain starting date and time, and in the planning the number of half hours should be colored automatically. So far so good, this works like a charm.

    What I now want is that in every yellow order block, the leftmost cell should contain some information about the order, like the product code for example.
    I also managed to create this, but unfortunately the cell to the right of this cuts of the text because it contains a formula (I think). But the formula is needed to check if text should be displayed or not.

    Who can come up with a solution to let the text just overflow in cells to the right? I can manually delete the formulas in these cells, but it want something automatic.

    Thanks a lot in advance!
    Attached Files Attached Files
    Last edited by DeJans1; 06-14-2023 at 01:36 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,504

    Re: Stop cells to cut of text in cell to the left

    I don't think you can natively, although it may be possible with VBA - shall I move the thread for you.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    01-23-2023
    Location
    Amsterdam
    MS-Off Ver
    Office 365
    Posts
    22

    Re: Stop cells to cut of text in cell to the left

    Sure, a solution in VBA is also fine

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,504

    Re: VBA Stop cells to cut of text in cell to the left

    I have moved the thread - now in the VBA section.

  5. #5
    Registered User
    Join Date
    01-23-2023
    Location
    Amsterdam
    MS-Off Ver
    Office 365
    Posts
    22

    Re: VBA Stop cells to cut of text in cell to the left

    Thanks, now hopefully somebody can help me!

  6. #6
    Registered User
    Join Date
    01-23-2023
    Location
    Amsterdam
    MS-Off Ver
    Office 365
    Posts
    22

    Re: VBA Stop cells to cut of text in cell to the left

    Is it allowed here to 'up' threads?

  7. #7
    Registered User
    Join Date
    01-23-2023
    Location
    Amsterdam
    MS-Off Ver
    Office 365
    Posts
    22

    Re: VBA Stop cells to cut of text in cell to the left

    Up... Someone?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Vba that moves cells with text, (up and to left, insert row/ insert copied cell)
    By sergi117 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-04-2018, 03:12 PM
  2. [SOLVED] How to stop a date formula from working if original cell is left blank
    By Mr.Bean in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-06-2017, 01:53 PM
  3. Replies: 6
    Last Post: 06-26-2017, 09:04 PM
  4. [SOLVED] When a certain text is in cell, copy paste in cells left or right of the text
    By TAMMY32 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-28-2016, 05:23 PM
  5. [SOLVED] Need MACRO to copy the text in the cell left of first selected cells (a column), paste all
    By joobeng in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-16-2013, 06:42 AM
  6. Replies: 4
    Last Post: 04-30-2013, 06:46 PM
  7. "Left" function - How to skip over a full stop in text
    By Grimace in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-20-2010, 03:08 AM

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