Please help. I am using Windows 7 and Excel 2000 while running the program illustrated below, which works except one major problem being: If the data combined from the columns ending up in column D is more than a couple hundred characters, it returns the following problem:
run-time error -2147417848 (80010108)':
automation error
the object invoked has disconnected from it's clients.
When I shorten the amount of text to a couple hundred characters, it works fine but I need to be able to have a lot more than that,.
Below is the program I am using. All I need is how to allow the recipient column D to contain the maximum number of characters possible because I need to have pages of data concatenating there into that column. If someone could help me by indicating what I should add or change to the program, I would appreciate it very much.
Sub Concat()
Dim i As Long, LR As Long, j As Long
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
LR = Range("A" & Rows.Count).End(xlUp).Row
For i = 1 To LR
With Range("D" & i)
.Value = Join(Application.Transpose(Application.Transpose(.Offset(, -3).Resize(, 3))), vbNullString)
j = InStr(.Value, ". ")
.Characters(Start:=1, Length:=j).Font.Bold = True
End With
Next i
Application.ScreenUpdating = True
Application.Calculation = xlCalculationAutomatic
End Sub
run-time error -2147417848 (80010108)':
automation error
the object invoked has disconnected from it's clients.
When I shorten the amount of text to a couple hundred characters, it works fine but I need to be able to have a lot more than that,.
Below is the program I am using. All I need is how to allow the recipient column D to contain the maximum number of characters possible because I need to have pages of data concatenating there into that column. If someone could help me by indicating what I should add or change to the program, I would appreciate it very much.
Sub Concat()
Dim i As Long, LR As Long, j As Long
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
LR = Range("A" & Rows.Count).End(xlUp).Row
For i = 1 To LR
With Range("D" & i)
.Value = Join(Application.Transpose(Application.Transpose(.Offset(, -3).Resize(, 3))), vbNullString)
j = InStr(.Value, ". ")
.Characters(Start:=1, Length:=j).Font.Bold = True
End With
Next i
Application.ScreenUpdating = True
Application.Calculation = xlCalculationAutomatic
End Sub