Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 683
Default How do I use a relative cell reference that will copy the format?

What I'm trying to do is copy over the formatting that I've done to a cell
when I'm trying to use a relative reference to that cell. Aside from pasting
the format, is there some other way to copy the formatting as well as the
values within the cell?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Location: Bakersfield, CA
Posts: 45
Send a message via Skype™ to JBeaucaire[_85_]
Default How do I use a relative cell reference that will copy the format?

Give this a try:

Edit PasteSpecial Values and number formats
--
"Actually, I AM a rocket scientist." -- JB

Your feedback is appreciated, click YES if this post helped you.


"Brian" wrote:

What I'm trying to do is copy over the formatting that I've done to a cell
when I'm trying to use a relative reference to that cell. Aside from pasting
the format, is there some other way to copy the formatting as well as the
values within the cell?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 683
Default How do I use a relative cell reference that will copy the form

I'm using excel 2007 so unfortunately the edit function is no more. Just to
clarify, the cell that i'm wishing to copy has half of the text formatted one
way and the other half formatted a different way. If anyone knows how to
conditionally format cells so anything after a "?" is formatted in a certain
way, that would also help solve the problem.

"JBeaucaire" wrote:

Give this a try:

Edit PasteSpecial Values and number formats
--
"Actually, I AM a rocket scientist." -- JB

Your feedback is appreciated, click YES if this post helped you.


"Brian" wrote:

What I'm trying to do is copy over the formatting that I've done to a cell
when I'm trying to use a relative reference to that cell. Aside from pasting
the format, is there some other way to copy the formatting as well as the
values within the cell?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default How do I use a relative cell reference that will copy the format?

If you mean you have a cell linked to another, there is no way to link the
formatting unless the formatting is due to Conditional Formatting.

If you don't mind just getting value from one cell to another along with
formatting, see JB's reply.


Gord Dibben MS Excel MVP


On Tue, 13 Jan 2009 11:38:01 -0800, Brian
wrote:

What I'm trying to do is copy over the formatting that I've done to a cell
when I'm trying to use a relative reference to that cell. Aside from pasting
the format, is there some other way to copy the formatting as well as the
values within the cell?


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default How do I use a relative cell reference that will copy the form

Not a format, but a macro.

Sub Color_Bits()
Dim mylen As String
Dim rCell As Range
Dim n As Long
mylen = Len(myword)
For Each rCell In Selection
n = 1
Do
n = InStr(n, UCase(rCell.Value), "?")
If n 0 Then
rCell.Characters(n + 1, mylen).Font.Color = vbRed
n = n + 1
End If
Loop Until n = 0
Next rCell
End Sub


Gord Dibben MS Excel MVP

On Tue, 13 Jan 2009 12:20:01 -0800, Brian
wrote:

I'm using excel 2007 so unfortunately the edit function is no more. Just to
clarify, the cell that i'm wishing to copy has half of the text formatted one
way and the other half formatted a different way. If anyone knows how to
conditionally format cells so anything after a "?" is formatted in a certain
way, that would also help solve the problem.

"JBeaucaire" wrote:

Give this a try:

Edit PasteSpecial Values and number formats
--
"Actually, I AM a rocket scientist." -- JB

Your feedback is appreciated, click YES if this post helped you.


"Brian" wrote:

What I'm trying to do is copy over the formatting that I've done to a cell
when I'm trying to use a relative reference to that cell. Aside from pasting
the format, is there some other way to copy the formatting as well as the
values within the cell?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I copy a combobox to many cells with relative reference? Levc Excel Discussion (Misc queries) 1 November 21st 07 06:58 PM
Copy data from pivot table using relative reference hello Excel Discussion (Misc queries) 5 April 9th 07 04:13 PM
COPY RELATIVE FORMAT Jill Excel Discussion (Misc queries) 1 October 19th 06 08:20 PM
how to reference/copy cell format ??? [email protected] Excel Discussion (Misc queries) 3 August 1st 06 08:02 AM
Copy a relative reference formula from one sheet to another. jannkatt Excel Discussion (Misc queries) 3 May 17th 06 07:13 PM


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

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

About Us

"It's about Microsoft Excel"