Active Cell Offset Entire Row Autofit Issue

LadyRave

New Member
Joined
Sep 14, 2016
Messages
41
Hello Everyone,

I have the following code below, however, when I run the code the words are cut off. What am I doing wrong?

Code -

Sheets("Active AGT").Range("B" & ActiveCell.Offset(3, 1).Row & ":D" & ActiveCell.Offset(3, 1).Row).Merge
Range("B" & ActiveCell.Offset(4, 1).Row & ":B" & ActiveCell.Offset(4, 1).Row).EntireRow.AutoFit


Table -


I tried to create a table to show the section where the words are cut off so hopefully this depicts a good image.


[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"]Data A[/TD]
[TD="align: center"]This Part is the One Cut Off Even though I have AutoFit[/TD]
[TD="align: center"]Data B[/TD]
[TD="align: center"]Data C[/TD]
[/TR]
</tbody>[/TABLE]


May anyone please help?

Thank you!
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
I tried this code but I get an error on:

If Not Intersect(Target, Range(str01)) Is Nothing Then
Application.ScreenUpdating = False
On Error Resume Next
Set AutoFitRng = Range(Range(str01).MergeArea.Address)
 
Upvote 0

Forum statistics

Threads
1,224,832
Messages
6,181,235
Members
453,026
Latest member
cknader

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