Center Across Selection Instead of Merging Cells

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
I don't believe that it works vertically.
 
Upvote 0
Hi @mumps

Indeed ... I've been looking for the answer for hours and it does not seem to exist yet any solution to that issue...

However I've found this on you tube where merged cells can be replaced by textbox

Here is the link

https://www.youtube.com/watch?v=ft-qFKDEORM

Does anyone have an idea how to put the textbox value from my userform in a textbox given that it's currently written in a cell in column A next to the 1st item of a listbox in column B.

Here is the code

Code:
With Sheets("Data")
   nextrow = .Range("B" & Rows.Count).End(xlUp).Row + 3
   .Range("A" & nextrow).Value = TextBox1.Value
   
   For b = 0 To ListBox1.ListCount - 1
      .Range("B" & nextrow) = ListBox1.List(b)
      nextrow = nextrow + 1
   Next b
   
   For c = 0 To ListBox2.ListCount - 1
   .Range("B" & nextrow) = ListBox2.List(c)
      nextrow = nextrow + 1
   Next c
   
End With

So the textbox in column A, representing the value of the userform textbox value, should have the same lenght of the cells in column B representing the items of listbox 1 and listbox 2

Any ideas ?

Yes, I recognize that what I ask is quite complex :confused:
 
Upvote 0
No, I usually just widen the column and wrap the text, setting Auto Row Height. If you have to show the text over a vertical set of cells, there's no unmerged equivalent, so you have to merge.
 
Upvote 0

Forum statistics

Threads
1,224,737
Messages
6,180,653
Members
452,992
Latest member
TokugawaIesuma

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top