Results 1 to 3 of 3

transfer values and formatting without using .copy?

Threaded View

  1. #1
    Registered User
    Join Date
    01-10-2010
    Location
    Malmo, Sweden
    MS-Off Ver
    Excel 2003
    Posts
    27

    transfer values and formatting without using .copy?

    Hi all!
    I hope I get the formatting riught this time.

    In a proceedure I'm trying to copy some ranges including: text,cellcolor and borders to a number of different places.
    What I've got from modifying the macro recorder was

    Range("A1:B2").copy
    Cells(wherever i want to place it).Activate
    ActiveSheet.Paste
    This works but I don't even want to have to activate the window or make a bunch of selections. Preferably I would want to operate everything from outside and whenever I opened the sheet the things would be there. Just as if I copied values from sheet1 by writing:

    sheet2.cells(1,1)=sheet3.cells(3,5)
    Last edited by aron; 01-20-2010 at 07:17 AM.

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