Results 1 to 3 of 3

require a vba coding to merge cells when typing please

Threaded View

  1. #1
    Registered User
    Join Date
    03-14-2019
    Location
    london
    MS-Off Ver
    2016
    Posts
    2

    Exclamation require a vba coding to merge cells when typing please

    hi,

    if anybody can assist ill be grateful, I have a range of cells that I want to merge providing that cell have texts entered into them. exactly how a text box would auto fit to the text but same with cells in range. an expanding box but with the range of cells

    the current code I had is not executing on selection of the cell.

    please do help and advise

    
    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
        If Selection.Count = 1 Then
            If Not Intersect(Target, Range("E95")) Is Nothing Then
    Sub Range_Merge_Across_False()
        Range("E95:L104").Merge
    End Sub
    Last edited by jnawabjj; 03-15-2019 at 08:44 AM. Reason: forum rules

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Auto populate sequential ID numbers based on any text entered into adjacent cells
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-27-2017, 11:41 PM
  2. Selecting range of cells whilst 'event selection procedure' runs in the background
    By kosherboy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-15-2016, 12:54 PM
  3. VBA coding require for auto fill maximum location in blank cells
    By anil kmr in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-21-2015, 12:15 AM
  4. [SOLVED] Combining Contents of two cells whilst preserving text coloring
    By jordan2322 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-11-2013, 12:20 AM
  5. VBA code to change font color in range of cells when certain text is entered?
    By BrianG in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 12-21-2012, 06:30 PM
  6. Lock Range of Cells After Text is Entered
    By cshenold in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-17-2012, 01:21 PM
  7. [SOLVED] Require Data To Be Entered In Cell Unless Selecting Specific Cells
    By swordswinger710 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-11-2012, 10:48 AM

Tags for this Thread

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