+ Reply to Thread
Results 1 to 2 of 2

using VB to link formats

  1. #1
    Registered User
    Join Date
    10-30-2006
    Posts
    1

    Red face using VB to link formats

    as well as linking the data from one cell to another I also am trying to link the format of one cell to another so that when I change the fill colour of font of the first it automatically changed the second.

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by Sarah-Jane
    as well as linking the data from one cell to another I also am trying to link the format of one cell to another so that when I change the fill colour of font of the first it automatically changed the second.
    A variation of:

    Range("A2").Interior.ColorIndex = Range("A1").Interior.ColorIndex

    should do it

    You can also change Font details that way, record a macro to get the seeting required and amend for your ranges.
    ---
    Si fractum non sit, noli id reficere.

+ 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