+ Reply to Thread
Results 1 to 8 of 8

Copy Data Create a New Sheet Name Should be Based On Cell D7 value and paste here

  1. #1
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Post Copy Data Create a New Sheet Name Should be Based On Cell D7 value and paste here

    hello
    i have data on sheet one range A:I

    i have want to copy data and create a new sheet with new name (Name should be What value is in Cell D7) and paste the data on new sheets.
    if i copy paste again and D7 value is changed then make new sheet with the name of D7 value and paste on new sheet...

    e.g i have data in range A10:I50 and D7.value = 15-Apr-2014 then
    copy the data of range A10:I50 and create a new sheet with the name 15-Apr-2014 and paste here

    if i changed the value of D7.value = 16-Apr-2014 then
    create the sheet with name of 16-Apr-2014 and paste here

    thanx

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Copy Data Create a New Sheet Name Should be Based On Cell D7 value and paste here

    Copy the below code and do right click on sheet tab and select view code and paste it.

    Close the VBA window (Alt+Q to close VBA window) and return to that sheet and check.

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Re: Copy Data Create a New Sheet Name Should be Based On Cell D7 value and paste here


    nothing happening

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Copy Data Create a New Sheet Name Should be Based On Cell D7 value and paste here

    It's working fine for me and not sure whats going wrong at your end

  5. #5
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Copy Data Create a New Sheet Name Should be Based On Cell D7 value and paste here

    Hi, :) Sixthsense :),

    it might be the missing information that there is a formula in D7 which won´t be triggered by the event or another event of the same name behind the sheet.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Copy Data Create a New Sheet Name Should be Based On Cell D7 value and paste here

    Hi Holger,

    Nice Catch and Yes it may be the one of the reason

    In that case the OP should replace the Worksheet_Change to Worksheet_Calculate

  7. #7
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Re: Copy Data Create a New Sheet Name Should be Based On Cell D7 value and paste here

    ups!
    Sorry Sixthsense
    there is just beginners mistake
    now evrythig is fine and working perfect
    thanx alot very much


    +1 Repu

  8. #8
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Re: Copy Data Create a New Sheet Name Should be Based On Cell D7 value and paste here

    and thanx to u too HaHoBe

    if d7 have formula then use this should replace the Worksheet_Change to Worksheet_Calculate
    in future it will help, if 1 use the formula in d7 then i will change in Worksheet_Calculate
    thanx alot to learn a new one

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Create A Copy To A New Sheet & Rename Sheet Based on Cell Value
    By delicard in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 07-25-2013, 08:56 PM
  2. Replies: 11
    Last Post: 05-12-2013, 11:30 AM
  3. [SOLVED] Copy and paste data from sheet 2 to sheet 1 based on specific criteria on sheet 1
    By VBADUD in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-05-2012, 04:18 AM
  4. Copy Sheet / Create & Name New Sheet / Insert Before a Sheet / Paste Data
    By thinkspac in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-12-2012, 02:27 PM
  5. [SOLVED] Create new sheet from cell-info and then copy/paste special
    By Ingve in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-19-2006, 07:00 PM

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