+ Reply to Thread
Results 1 to 15 of 15

Equal Value & Formatting between 2 Cells

  1. #1
    Registered User
    Join Date
    05-13-2009
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2003
    Posts
    9

    Equal Value & Formatting between 2 Cells

    Is there any way to make one cell on a separate sheet appear EXACTLY the same, including formatting and values?
    As in this for example:
    Pieces of Paper (Blue)

    I would like to keep the formatting for (Blue) , color and bold, but I have not figured out how to do this.

    Any help would be greatly appreciated.

    Alexneedshelp
    Last edited by alexneedshelp; 05-22-2009 at 01:40 PM. Reason: Solved

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,567

    Re: Equal Value & Formatting between 2 Cells

    It would require writing code.
    ChemistB
    My 2¢

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    05-13-2009
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Equal Value & Formatting between 2 Cells

    What type of 'code'?
    Where would I find information regarding on and how to structure this 'code'?

    Please provide more instructions as to how to solve the issue I have brought forward, and be more precise with your answers.

    Thank you.

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,567

    Re: Equal Value & Formatting between 2 Cells

    The code is VBA (Visual Basic for Applications) which is a programming language and is the basis for all Excel macros. I am not advanced enough to write this code for you. You could post in the Excel Programming folder with a link to this post. You'd be more likely to get good code from there.

  5. #5
    Registered User
    Join Date
    05-13-2009
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Equal Value & Formatting between 2 Cells

    Thank you ChemistB. I will check into that.

    I appreciate your 2 cents, by the way.

  6. #6
    Administrator JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Equal Value & Formatting between 2 Cells

    This is an example. On a blank sheet1, right click on the Sheet tab and select VIEW CODE, paste in this sample macro:
    Please Login or Register  to view this content.
    The ALT-Q to close the editor.

    This version only copies C1:D20 plus watches M12.

    Type anything anywhere, formatting, fonts...anything. What this does is anytime the cursor passes the watched range, it copies that cell to the same position on Sheet2.

    This is very basic, obviously....just to give the idea.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    “None of us is as good as all of us” - Ray Kroc
    “Actually, I *am* a rocket scientist.” - JB (little ones count!)

  7. #7
    Registered User
    Join Date
    05-13-2009
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Equal Value & Formatting between 2 Cells

    Thank you JBeaucaire.

    Would you mind looking at my other post, in the programming section? I have provided an example. And I am somewhat confused concerning what another user has claimed. Please have a look, and verify or disprove the other users claim. I would appreciate it.

    Link:
    http://www.excelforum.com/excel-prog...ml#post2093645

  8. #8
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Equal Value & Formatting between 2 Cells

    There is another way of accomplishing this.

    Use the Camera function. It will make the dependent cell look exactly the same as precedent cell because it is a picture of that cell. Whatever changes occur in the precedent cell will be reflected in the linked picture.

    To get the Camera button go to the Add Buttons drop down box at the end of your toolbar. Click on Customize and choose the Tools category. Scroll down in the Commands section to find the Camera button. Drag it onto your toolbar.

    Then select the precedent cell and click on the Camera button.
    Go to where you want the picture to appear and click in that cell.

  9. #9
    Administrator JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Equal Value & Formatting between 2 Cells

    The formula supplied in this thread would be the same answer to the question you've posed there, which feels like the same question, to me.
    =============
    If that takes care of your need on THIS thread, be sure to EDIT your original post (Go Advanced) and mark the PREFIX box [SOLVED].


    (Also, use the "scales" icon in our posts to leave Feedback, it is appreciated)

  10. #10
    Administrator JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Equal Value & Formatting between 2 Cells

    Quote Originally Posted by Cutter View Post
    Use the Camera function. It will make the dependent cell look exactly the same as precedent cell because it is a picture of that cell. Whatever changes occur in the precedent cell will be reflected in the linked picture.
    What a great tool! I'd never even heard of it!

    Thanks for that.

  11. #11
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,663

    Re: Equal Value & Formatting between 2 Cells

    Same as if you hold the Shift key down and then do Edit > Copy Picture
    Entia non sunt multiplicanda sine necessitate

  12. #12
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Equal Value & Formatting between 2 Cells

    You're welcome JBeaucaire.

    It has been quite some time since I last used it so I had to find it again after reading the OP.

    Thanks shg for reminding me of the keyboard shortcut.

  13. #13
    Registered User
    Join Date
    05-13-2009
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Equal Value & Formatting between 2 Cells

    Quote Originally Posted by JBeaucaire View Post
    The formula supplied in this thread would be the same answer to the question you've posed there, which feels like the same question, to me.
    =============
    If that takes care of your need on THIS thread, be sure to EDIT your original post (Go Advanced) and mark the PREFIX box [SOLVED].


    (Also, use the "scales" icon in our posts to leave Feedback, it is appreciated)

    Indeed, it is the same question. I directed you towards the other thread due to the example I have attached, and being in a more specific area of this forum.

  14. #14
    Registered User
    Join Date
    01-17-2013
    Location
    United States
    MS-Off Ver
    Excel 2012
    Posts
    5

    Re: Equal Value & Formatting between 2 Cells

    This doesn't appear to be copying the format

    excel 2010 in Win 8

  15. #15
    Registered User
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,161

    Re: Equal Value & Formatting between 2 Cells

    actualize,

    Unfortunately you need to post your question in a new thread, it's against the forum rules to post a question in the thread of another user. If you create your own thread, any advice will be tailored to your situation so you should include a description of what you've done and are trying to do. Also, if you feel that this thread is particularly relevant to what you are trying to do, you can surely include a link to it in your new thread.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1