+ Reply to Thread
Results 1 to 2 of 2

Paste the formatting of a range in a certain location if a cell somewhere has data?

  1. #1
    Registered User
    Join Date
    07-30-2010
    Location
    Oregon
    MS-Off Ver
    Excel 2007
    Posts
    44

    Paste the formatting of a range in a certain location if a cell somewhere has data?

    I have a specific formatting design in range G17:T21 which currently gets populated with information if there is data in cell B6:E6. As users add more products (such as B7:E7), each product they add displays information in a different area (for B7:E7, range G22:T26 gets populated with data).

    I would like to automatically copy and paste the formatting(design) for a particular range if another cell contains data.

    For example:

    If cell B7 contains any information, I would like G22:T26 to add the same formatting as G17:T21. I already have formulas in these ranges, so this area would also simultaneously populate with the data that is calculated when info is input into the B7 table

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Paste the formatting of a range in a certain location if a cell somewhere has dat

    Are you looking for a VBA solution?

    It would probably help (a lot) if you posted a sample workbook with examples of the data before and after.

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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