Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Format Of Linked Cells From Another Worksheet

Status
Not open for further replies.

TheMus

Technical User
Aug 23, 2000
28
0
0
US
Hello,

I'm trying to retain the "Wrap Text" cell format when I link a cell to another worksheet but it's not working. Both cells, the source cell and the linked cell, are formatted with wrap text. Any ideas how I can retain the format from the source cell to the linked cell?

Thanks,

Rus
 
Hi

You can placed the below code at the targeted worksheet's Change event.

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
With Target
.HorizontalAlignment = xlGeneral
.VerticalAlignment = xlBottom
.WrapText = True
End With
End Sub

This code will text wrap the cell contents if deem necessary.

Hope this will helps.

Regards

LSTAN


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top