A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Referencing a cell in other worksheet that is using autofit row he



 
 
Thread Tools Display Modes
  #1  
Old May 5th, 2010, 05:24 PM posted to microsoft.public.excel.worksheet.functions
Bermi Girl
external usenet poster
 
Posts: 4
Default Referencing a cell in other worksheet that is using autofit row he

HELP! Greetings from Bermuda!

I have referenced a cell in another worksheet that is using autofit row
height. I want the cell that I am pulling the data into to automatically
autofit row height also. Even though I have both cells in the two different
worksheets designated to autofit, the cell that I am pulling the data into is
still only showing the top line of text in the cell. I then have to manually
set autofit again in order for it to take. Why is that cell height not
automatically autofitting if both cells are designated to do so?

I hope that wasn't too confusing
--
Bermi Girl
  #2  
Old May 5th, 2010, 08:26 PM posted to microsoft.public.excel.worksheet.functions
Bob Umlas, Excel MVP
external usenet poster
 
Posts: 275
Default Referencing a cell in other worksheet that is using autofit row he

Right-click the sheet tab, select View Code, enter this:
Private Sub Worksheet_Change(ByVal Target As Range)
Rows(Target.Row).AutoFit
End Sub

"Bermi Girl" wrote:

HELP! Greetings from Bermuda!

I have referenced a cell in another worksheet that is using autofit row
height. I want the cell that I am pulling the data into to automatically
autofit row height also. Even though I have both cells in the two different
worksheets designated to autofit, the cell that I am pulling the data into is
still only showing the top line of text in the cell. I then have to manually
set autofit again in order for it to take. Why is that cell height not
automatically autofitting if both cells are designated to do so?

I hope that wasn't too confusing
--
Bermi Girl

  #3  
Old May 5th, 2010, 09:44 PM posted to microsoft.public.excel.worksheet.functions
Bermi Girl
external usenet poster
 
Posts: 4
Default Referencing a cell in other worksheet that is using autofit ro

Thanks Bob. Do I type that in both worksheets or just the one receiving the
information? I pasted it in just as you wrote it, but I don't see anything
different. I will try again.

Thanks
--
Bermi Girl


"Bob Umlas, Excel MVP" wrote:

Right-click the sheet tab, select View Code, enter this:
Private Sub Worksheet_Change(ByVal Target As Range)
Rows(Target.Row).AutoFit
End Sub

"Bermi Girl" wrote:

HELP! Greetings from Bermuda!

I have referenced a cell in another worksheet that is using autofit row
height. I want the cell that I am pulling the data into to automatically
autofit row height also. Even though I have both cells in the two different
worksheets designated to autofit, the cell that I am pulling the data into is
still only showing the top line of text in the cell. I then have to manually
set autofit again in order for it to take. Why is that cell height not
automatically autofitting if both cells are designated to do so?

I hope that wasn't too confusing
--
Bermi Girl

  #4  
Old May 6th, 2010, 01:52 AM posted to microsoft.public.excel.worksheet.functions
Dave Peterson
external usenet poster
 
Posts: 19,791
Default Referencing a cell in other worksheet that is using autofit ro

Check your later post.

Bermi Girl wrote:

Thanks Bob. Do I type that in both worksheets or just the one receiving the
information? I pasted it in just as you wrote it, but I don't see anything
different. I will try again.

Thanks
--
Bermi Girl

"Bob Umlas, Excel MVP" wrote:

Right-click the sheet tab, select View Code, enter this:
Private Sub Worksheet_Change(ByVal Target As Range)
Rows(Target.Row).AutoFit
End Sub

"Bermi Girl" wrote:

HELP! Greetings from Bermuda!

I have referenced a cell in another worksheet that is using autofit row
height. I want the cell that I am pulling the data into to automatically
autofit row height also. Even though I have both cells in the two different
worksheets designated to autofit, the cell that I am pulling the data into is
still only showing the top line of text in the cell. I then have to manually
set autofit again in order for it to take. Why is that cell height not
automatically autofitting if both cells are designated to do so?

I hope that wasn't too confusing
--
Bermi Girl


--

Dave Peterson
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:47 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.