+ Reply to Thread
Results 1 to 17 of 17

copying bold data from sheet1 to create new worksheets and rename the worksheet

  1. #1
    Registered User
    Join Date
    02-28-2011
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    24

    copying bold data from sheet1 to create new worksheets and rename the worksheet

    copying bold data from sheet1 to create new
    worksheets and rename the worksheet using the bold
    data in sheet1

    -can anyone help me to solve this problem?

    Please Login or Register  to view this content.
    Last edited by ramdzan; 03-10-2011 at 10:01 AM. Reason: add code tags

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: copying bold data from sheet1 to create new worksheets and rename the worksheet

    Maybe:

    Please Login or Register  to view this content.

    Please remember to use code tags when posting code to the forum per the rules

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  3. #3
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: copying bold data from sheet1 to create new worksheets and rename the worksheet

    You need to add code tags.

  4. #4
    Registered User
    Join Date
    02-28-2011
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: copying bold data from sheet1 to create new worksheets and rename the worksheet

    Quote Originally Posted by Domski View Post
    Maybe:

    Please Login or Register  to view this content.

    Please remember to use code tags when posting code to the forum per the rules

    Dom

    Thanks Dom
    i've try the code,
    but i got run time error 1004
    i'm a new guy here
    so please help me =)
    Last edited by ramdzan; 03-01-2011 at 09:58 AM.

  5. #5
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: copying bold data from sheet1 to create new worksheets and rename the worksheet

    Hi,

    Any chance you could upload a sample of your workbook so we can see what is happening?

    Dom

  6. #6
    Registered User
    Join Date
    02-28-2011
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: copying bold data from sheet1 to create new worksheets and rename the worksheet

    Quote Originally Posted by Domski View Post
    Hi,

    Any chance you could upload a sample of your workbook so we can see what is happening?

    Dom
    ok.. here it is..

    Attachment 100705

  7. #7
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: copying bold data from sheet1 to create new worksheets and rename the worksheet

    Something seems to have gone wrong attaching the file.

    Dom

  8. #8
    Registered User
    Join Date
    02-28-2011
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: copying bold data from sheet1 to create new worksheets and rename the worksheet

    Quote Originally Posted by domski View Post
    something seems to have gone wrong attaching the file.

    Dom

    ................
    Last edited by romperstomper; 03-03-2011 at 06:28 AM. Reason: attachment removed per request

  9. #9
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: copying bold data from sheet1 to create new worksheets and rename the worksheet

    So do you want a sheet creating for each bold entry in column D? What was the significance of the j variable in your original code?

    Some of the entries on column D aren't valid sheet names like ''GOLDEN TIER SDN BHD (A/C 2)' which would need to be dealt with.

    Dom

  10. #10
    Registered User
    Join Date
    02-28-2011
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: copying bold data from sheet1 to create new worksheets and rename the worksheet

    I suppose the j variable is for the number of the worksheets..
    So if i want to add sheets and rename the worksheets base on the
    name of the companies, how the code was suppose to be?
    Last edited by ramdzan; 03-01-2011 at 11:39 AM.

  11. #11
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: copying bold data from sheet1 to create new worksheets and rename the worksheet

    So you only want to add 7 worksheets?

    Dom

  12. #12
    Registered User
    Join Date
    02-28-2011
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: copying bold data from sheet1 to create new worksheets and rename the worksheet

    no, actually the code i post is just for testing.. the number of sheets is the same as th number of
    the companies.. about 67 sheet..

  13. #13
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: copying bold data from sheet1 to create new worksheets and rename the worksheet

    Something like this then maybe:

    Please Login or Register  to view this content.

    Dom

  14. #14
    Registered User
    Join Date
    02-28-2011
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: copying bold data from sheet1 to create new worksheets and rename the worksheet

    can i know how to remove the attached file?

  15. #15
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: copying bold data from sheet1 to create new worksheets and rename the worksheet

    I meant to say I thought that might be sensitive data. Send a message to one of the mods and they'll sort it out for you.

    Did the code work for you?

  16. #16
    Registered User
    Join Date
    02-28-2011
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: copying bold data from sheet1 to create new worksheets and rename the worksheet

    Quote Originally Posted by Domski View Post
    I meant to say I thought that might be sensitive data. Send a message to one of the mods and they'll sort it out for you.

    Did the code work for you?
    i don't really understand wahat u mean.. erm...
    how to send messsage to the mod?

  17. #17
    Registered User
    Join Date
    02-28-2011
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: copying bold data from sheet1 to create new worksheets and rename the worksheet

    The code work.. thx Dom =)

+ 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