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 » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Format for 3 D reference



 
 
Thread Tools Display Modes
  #1  
Old June 14th, 2004, 07:20 PM
Dan
external usenet poster
 
Posts: n/a
Default Format for 3 D reference

When referencing a cell in a worksheet in another worksheet, is there a way to have the formatting from the referenced cell automatically be the same in the referencing cell?

For example:
Worksheet1, cell A1 has bold formatting.

Therefore, in worksheet2, you reference Worksheet1!A1. Can the formatting from worksheet!a1 be automatically applied in worksheet2 that is referencing Worksheet1?

--
D
  #2  
Old June 14th, 2004, 07:31 PM
Frank Kabel
external usenet poster
 
Posts: n/a
Default Format for 3 D reference

Hi
no, not possible

--
Regards
Frank Kabel
Frankfurt, Germany


Dan wrote:
When referencing a cell in a worksheet in another worksheet, is there
a way to have the formatting from the referenced cell automatically
be the same in the referencing cell?

For example:
Worksheet1, cell A1 has bold formatting.

Therefore, in worksheet2, you reference Worksheet1!A1. Can the
formatting from worksheet!a1 be automatically applied in worksheet2
that is referencing Worksheet1?


  #3  
Old June 14th, 2004, 08:08 PM
Harlan Grove
external usenet poster
 
Posts: n/a
Default Format for 3 D reference

"Frank Kabel" wrote...
no, not possible


Not with a formula, but you could do this with a picture link. And it'd also be
possible to use a Calculate event handler to iterate through all cells looking
for formulas that are simple references to cells in other worksheets, then apply
those cells' formats to the cells containing the formulas.

Dan wrote:
When referencing a cell in a worksheet in another worksheet, is there
a way to have the formatting from the referenced cell automatically
be the same in the referencing cell?

...

--
To top-post is human, to bottom-post and snip is sublime.
  #4  
Old June 14th, 2004, 08:29 PM
Frank Kabel
external usenet poster
 
Posts: n/a
Default Format for 3 D reference

Harlan Grove wrote:
"Frank Kabel" wrote...
no, not possible


Not with a formula, but you could do this with a picture link. And
it'd also be possible to use a Calculate event handler to iterate
through all cells looking for formulas that are simple references to
cells in other worksheets, then apply those cells' formats to the
cells containing the formulas.


Hi Harlan
a picture link is something I've never tried :-)
For the worksheet_calculate event: This is only nearly automatic as
this won't be triggered if you only change the format.
Another option (with the same restriction) would be to use the OnTime
method

Frank

  #5  
Old June 14th, 2004, 08:59 PM
JE McGimpsey
external usenet poster
 
Posts: n/a
Default Format for 3 D reference

One way:

Put this in the worksheet 2 code module (right-click the worksheet 2 tab
and choose view code):

Private Sub Worksheet_Activate()
Dim rCell As Range
For Each rCell In Range("A1,J10")
With rCell
Worksheets("Sheet1").Range(.Address).Copy
.PasteSpecial Paste:=xlFormats
End With
Next rCell
End Sub



In article ,
Dan wrote:

When referencing a cell in a worksheet in another worksheet, is there a way
to have the formatting from the referenced cell automatically be the same in
the referencing cell?

For example:
Worksheet1, cell A1 has bold formatting.

Therefore, in worksheet2, you reference Worksheet1!A1. Can the formatting
from worksheet!a1 be automatically applied in worksheet2 that is referencing
Worksheet1?

  #6  
Old June 14th, 2004, 09:11 PM
Harlan Grove
external usenet poster
 
Posts: n/a
Default Format for 3 D reference

"Frank Kabel" wrote...
...
For the worksheet_calculate event: This is only nearly automatic as
this won't be triggered if you only change the format.
Another option (with the same restriction) would be to use the OnTime
method


OnTime macros can really slow things down. Better to call

Application.Calculate

from BeforePrint and BeforeSave macros, though that won't help on screen only
use.

--
To top-post is human, to bottom-post and snip is sublime.
  #7  
Old June 14th, 2004, 09:37 PM
JE McGimpsey
external usenet poster
 
Posts: n/a
Default Format for 3 D reference

In article ,
Harlan wrote:

OnTime macros can really slow things down. Better to call

Application.Calculate

from BeforePrint and BeforeSave macros, though that won't help on screen only
use.


Unless somehow the formats on the other sheet will change while the
target sheet is displayed (e.g., via macro), in most cases using the
Activate event will update the format for screen use.

One scenario where it fails is when there are two or more windows for
the workbook and the format is changed in window 1 - the update won't
occur until the other window (or the target worksheet in window 1) is
selected.
 




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 03:54 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.