+ Reply to Thread
Results 1 to 5 of 5

Convert formula to values and wrap text automatically

  1. #1
    Forum Contributor
    Join Date
    05-22-2015
    Location
    Malaysia
    MS-Off Ver
    MS365
    Posts
    224

    Convert formula to values and wrap text automatically

    Hi

    At "BuildMaster" sheet, when user updates hostname and IP address, automatically concatenate at column F12.

    Would like to incorporate the below formula at Column F and then convert to value and also would like to automatically merge column D and Column F after double click the last row in macros.
    =IF(BuildMaster!$B12<>"",BuildMaster!$B12&" "&CHAR(10)&BuildMaster!$C12,"")

    Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
    Dim LR As Integer
    If Target.Column > 1 Then Exit Sub
    Cancel = True
    If MsgBox("Do you want to insert a new row below this row?", vbYesNo) = vbYes Then
    Target.Resize(1, 14).AutoFill Destination:=Range(Target, Target.Offset(1, 13)), Type:=xlFillDefault
    Target.Offset(1, 0).Resize(1, 2).ClearContents
    Target.Offset(1, 1).Resize(1, 2).ClearContents
    End If
    LR = Empty
    End Sub

    I have set the marcos but tried to incorporate both requirements inside but it doesn't work as I still new to macros.
    Would appreciate your assistance on this form. Thank you.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    05-22-2015
    Location
    Malaysia
    MS-Off Ver
    MS365
    Posts
    224

    Re: Convert formula to values and wrap text automatically

    Hi,

    Would appreciate can anyone assist with your expert solution, please?

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,668

    Re: Convert formula to values and wrap text automatically

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Forum Contributor
    Join Date
    05-22-2015
    Location
    Malaysia
    MS-Off Ver
    MS365
    Posts
    224

    Re: Convert formula to values and wrap text automatically

    At "BuildMaster" sheet, when user updates hostname and IP address, automatically concatenate at column F12.

    Would like to incorporate the below formula at Column F and then convert to value and also would like to automatically merge column D and Column F after double click the last row in macros.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    I have set the marcos but tried to incorporate both requirements inside but it doesn't work as I still new to macros.
    Would appreciate your assistance on this form. Thank you.

  5. #5
    Forum Contributor
    Join Date
    05-22-2015
    Location
    Malaysia
    MS-Off Ver
    MS365
    Posts
    224

    Re: Convert formula to values and wrap text automatically

    Hi
    My apology for not putting in codes as this is the first time I am adding vba in excel forum.
    Would like to have your assistance in resolving this issue. It will be a great help.

    Thank you.

+ 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. Replies: 1
    Last Post: 02-05-2016, 05:49 PM
  2. Replies: 3
    Last Post: 02-03-2016, 09:22 PM
  3. [SOLVED] Wrap Text in ListView: how to wrap text in the columns of a list view
    By TommyToe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-05-2012, 07:02 AM
  4. How to automatically wrap text like a word doc?
    By Sugartit in forum Excel General
    Replies: 3
    Last Post: 11-14-2011, 04:27 AM
  5. Automatically Resize Row Height for Text Wrap
    By driffert in forum Excel General
    Replies: 0
    Last Post: 02-25-2009, 10:28 AM
  6. Text wrap and allow cell height to increase with wrap
    By tpenterprize in forum Excel General
    Replies: 1
    Last Post: 10-19-2007, 02:30 PM
  7. Text Wrap, Cell Height Does NOT Automatically Adjust
    By Al Franz in forum Excel General
    Replies: 1
    Last Post: 01-24-2005, 10:07 PM

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