Consulting

Results 1 to 3 of 3

Thread: Copy data including coloured cells automatically to another sheet

  1. #1
    VBAX Newbie
    Joined
    Sep 2023
    Posts
    1
    Location

    Question Copy data including coloured cells automatically to another sheet

    Hi
    Could anyone please advise how I can get coloured cells to update automatically on another sheet in the same workbook in excel. My sheet is looking at the first tab and working well, but if I change s cell colour on the original to say grey it doesn't update.
    Thank you
    Maz

  2. #2
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,059
    Location
    Try the following;
    Sub Copy_with_Formatting()
    Range("A1:E21").Copy Destination:=Sheets("Sheet2").Range("A1")
    End Sub
    Change the selected range on the active sheet to suit and change the name of the destination sheet to suit as well
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

  3. #3
    Moderator VBAX Master georgiboy's Avatar
    Joined
    Mar 2008
    Location
    Kent, England
    Posts
    1,198
    Location
    It depends on what you are using the information for on the second sheet, if it was for a dashboard or something then you could look to use the paste special option for a linked image.
    Attached Files Attached Files
    Click here for a guide on how to add code tags
    Click here for a guide on how to mark a thread as solved
    Click here for a guide on how to upload a file with your post

    Excel 365, Version 2403, Build 17425.20146

Posting Permissions

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