+ Reply to Thread
Results 1 to 3 of 3

Copy cell values to another sheet that is not opened

  1. #1
    Forum Contributor
    Join Date
    01-05-2009
    Location
    South Dakota, USA
    MS-Off Ver
    2003, and 2007
    Posts
    150

    Copy cell values to another sheet that is not opened

    What I would like to do is to write a code that copies a cells value, and then opens a seperate worksheet (already designed) and pastes the cells value to a new row in that worksheet and then saves the worksheet.

    There will be twelve cells that have information that will need to be copied, but if I can get the concept of the code, I can add all the cells if I have code for just one.

    Basically I have a report form that has a good amount of information in it. When the user is done filling out the report, a command button is clicked and a save macro copies the sheet, pastes to a new sheet and saves with a certain cell value as the file name. Before/during/after this macro runs, I would like 12 of the cells values to be copied and pasted in a new row on a log book style spreadsheet.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Copy cell values to another sheet that is not opened

    are you talking about worksheets or workbooks?

    If you save relevant input to a data sheet then you shouldn't need to keep copies of the sheets.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Contributor
    Join Date
    01-05-2009
    Location
    South Dakota, USA
    MS-Off Ver
    2003, and 2007
    Posts
    150

    Re: Copy cell values to another sheet that is not opened

    Hi Royuk,

    I am talking about both. As I am not not inputing all of my data into the logbook, I still need the saved copy.

    The workbook that the form is in has a couple of worksheets. The workbook that I will be sending pertinant information to has only one worksheet. The second workbook will not be open usually.

+ 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