+ Reply to Thread
Results 1 to 7 of 7

Auto Copy Contents of 1 WS to Another Based on Value of 1 Cell

  1. #1
    Registered User
    Join Date
    02-21-2010
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    4

    Auto Copy Contents of 1 WS to Another Based on Value of 1 Cell

    Hello Ladies and Gentlemen,

    I come to you seeking assistance. I am currently working on designing a semi-interactive data base for work, but am coming across some stumbling blocks.

    FYI- At work I have access to MS Excel 2k3, but if the solution is more easily achieved in 2k7 I have that at home.

    Short story long: I am a security guard who does hourly patrols of my site and must log certain information, as well as any security violations I observe. Currently this is done by hand with no tracking or ability to observe "trends".

    I have designed a rudimentary front pagewith all the categories I need, I even managed to get a dynamic date, as well as Weekday squares. Which leads to my question:

    Is there a formula that would copy the contents of one worksheet to another?

    What I would like is a formula along the lines of "IF A8 = MONDAY COPY WORKSHEET "CURRENT" TO wORKSHEET "MONDAY"

    As I'm sure you can tell from the syntax above, I'm new to advanced functions in excel. Any ideas, suggestions, recommended readings?

    Thanks

  2. #2
    Registered User
    Join Date
    02-21-2010
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Auto Copy Contents of 1 WS to Another Based on Value of 1 Cell

    Here's an edited (and unformatted) version of what I am working with.
    Attached Files Attached Files

  3. #3
    Valued Forum Contributor JeanRage's Avatar
    Join Date
    03-02-2009
    Location
    Nice, France
    MS-Off Ver
    Excel 2003
    Posts
    705

    Re: Auto Copy Contents of 1 WS to Another Based on Value of 1 Cell

    Hi,

    Yes ... it is feasible in different ways
    1. Fully automatic, say on the input of a given cell
    2. With a macro called by a command button ...
    3. or even with a series of formulas ...

  4. #4
    Registered User
    Join Date
    02-21-2010
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Auto Copy Contents of 1 WS to Another Based on Value of 1 Cell

    Thank you for your reply jean, I will try not to monopolize your time, can you point me in the right direction in how to implement them. All of your suggestions just went whizzing right over my head.

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Auto Copy Contents of 1 WS to Another Based on Value of 1 Cell

    following copies sheet 1 and gives it the name in cell a1 of sheet 1
    Please Login or Register  to view this content.
    Last edited by martindwilson; 02-21-2010 at 07:36 AM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  6. #6
    Registered User
    Join Date
    02-21-2010
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Auto Copy Contents of 1 WS to Another Based on Value of 1 Cell

    Thank you for sharing the code, now can I push my luck and ask how to edit it to target A8

    Basically I need the first section of code for A8 = Monday copy to worksheet 2 "Monday"

    Also would i have to add the code in seven times or can I continue editing with if a8 = tuesday, etc.

    Thanks

  7. #7
    Valued Forum Contributor JeanRage's Avatar
    Join Date
    03-02-2009
    Location
    Nice, France
    MS-Off Ver
    Excel 2003
    Posts
    705

    Re: Auto Copy Contents of 1 WS to Another Based on Value of 1 Cell

    Hi,

    See attached sample file ...

    HTH
    Attached Files Attached Files

+ 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