Results 1 to 11 of 11

Thread: [RESOLVED] Devide line by step of aumont...

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Mar 2005
    Posts
    2,943

    Resolved [RESOLVED] Devide line by step of aumont...

    I want to devide the record in DATABASE in this mode:
    (in sheet TABELLA are the step of range for extraction of lines, the index of search value is in column O)
    Copy in TEMPLATE all line from DATABASE from 0 to 100 rename TEMPLATE in DA_0_A100, go to next line of TABELLA, copy in TEMPLATE all line from DATABASE from 101 to 200 rename TEMPLATE in DA_101_A_200, ... ecc
    Hope i am clear...
    Before to extrat lines preventing i order all record in DATABASE from column O...
    Last edited by luca90; Jan 11th, 2009 at 06:35 AM.

  2. #2
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: Devide line by step of aumont...

    step of range for extraction of lines
    I couldn't understand what is 0 to 100? does it signify a loop and does 0 refer to data in the 2nd row?

    What I could make out is you want to copy data from the sheet DATABASE based on step of range for extraction of lines and paste them in sheet TEMPLATE and rename the sheet to DA_0_A100 and so on..... Is that correct?
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Mar 2005
    Posts
    2,943

    Re: Devide line by step of aumont...

    Quote Originally Posted by koolsid
    I couldn't understand what is 0 to 100? does it signify a loop and does 0 refer to data in the 2nd row?

    What I could make out is you want to copy data from the sheet DATABASE based on step of range for extraction of lines and paste them in sheet TEMPLATE and rename the sheet to DA_0_A100 and so on..... Is that correct?
    Hi koolsid....

    Italian "da" english=from
    Italian "a" english=to

    yes! you have understand perfect for this:"What I could make out is you want to copy data from the sheet DATABASE based on step of range for extraction of lines and paste them in sheet TEMPLATE and rename the sheet to DA_0_A100 and so on..... Is that correct?

  4. #4
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: Devide line by step of aumont...

    Italian "da" english=from
    Italian "a" english=to
    Hi I got that part but what i mean is...

    Does 0 refer to data in the 2nd row? and does 100 refer to data in row 102 in your workbook?
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  5. #5

    Thread Starter
    PowerPoster
    Join Date
    Mar 2005
    Posts
    2,943

    Re: Devide line by step of aumont...

    Quote Originally Posted by koolsid
    Hi I got that part but what i mean is...

    Does 0 refer to data in the 2nd row? and does 100 refer to data in row 102 in your workbook?
    Sorry me for my wrong explain...

    ..."Copy in TEMPLATE all line from DATABASE, until value in range of column O is in tange: 0,00 to 100,00 rename TEMPLATE in DA_0_A100, go to next line of TABELLA, copy in TEMPLATE all line from DATABASE until value in range of column O is in range: 101,00 to 200,00 rename TEMPLATE in DA_101_A_200, ... ecc"
    Last edited by luca90; Jan 21st, 2007 at 11:30 AM.

  6. #6
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: Devide line by step of aumont...

    "Copy in TEMPLATE all line from DATABASE, until value in range of column O is in tange: 0,00 to 100,00 rename TEMPLATE in DA_0_A100, go to next line of TABELLA, copy in TEMPLATE all line from DATABASE until value in range of column O is in range: 101,00 to 200,00 rename TEMPLATE in DA_101_A_200, ... ecc"
    I am sorry but i still didn't understand you

    Okay let's go thru it all in a different way...

    1) you want to copy the first 100 rows(starting from row2) from DATABASE to TEMPLATE and then rename it to DA_0_A_100.
    2)then you want to copy the next 99 rows from DATABASE to TEMPLATE and then rename it to DA_101_A_200.
    3)and then you want to copy the next 299 rows from DATABASE to TEMPLATE and then rename it to DA_201_A_500.
    4) and finally you want to copy the remaining rows from DATABASE to TEMPLATE and then rename it to DA_501_A_TO_THE_MAX.

    Is that correct?

    sorry once again for not understanding...
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  7. #7

    Thread Starter
    PowerPoster
    Join Date
    Mar 2005
    Posts
    2,943

    Re: Devide line by step of aumont...

    Quote Originally Posted by koolsid
    I am sorry but i still didn't understand you

    Okay let's go thru it all in a different way...

    1) you want to copy the first 100 rows(starting from row2) from DATABASE to TEMPLATE and then rename it to DA_0_A_100.
    2)then you want to copy the next 99 rows from DATABASE to TEMPLATE and then rename it to DA_101_A_200.
    3)and then you want to copy the next 299 rows from DATABASE to TEMPLATE and then rename it to DA_201_A_500.
    4) and finally you want to copy the remaining rows from DATABASE to TEMPLATE and then rename it to DA_501_A_TO_THE_MAX.

    Is that correct?

    sorry once again for not understanding...
    Yes! Finally you have understand me, sorry for my terrible english

    Note: but you consider the step of range to copy line?
    Understand you this sheet are dinamicly and for example the first step of aumont for example 0,00 to 100,00 it can have many lines not perfect 99 lines...
    for example the step of aumnot is in the range of 358 lines , or 5478 lines, ecc....
    Last edited by luca90; Jan 21st, 2007 at 02:59 PM.

  8. #8
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: Devide line by step of aumont...

    Is this what you want?

    attaching a file...

    click the commandbutton on sheet TABELLA

    Hope this helps...

    [Edit 25/03/2007] : Since the post is resolved.. deleting the attachment as my total attachements have crossed the allowed limit
    Last edited by Siddharth Rout; Mar 25th, 2007 at 08:32 AM.
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  9. #9

    Thread Starter
    PowerPoster
    Join Date
    Mar 2005
    Posts
    2,943

    Re: Devide line by step of aumont...

    Quote Originally Posted by koolsid
    Is this what you want?

    attaching a file...

    click the commandbutton on sheet TABELLA

    Hope this helps...
    Nice and excellent code!
    Tks.

  10. #10
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: [RESOLVED] Devide line by step of aumont...

    glad to help

    sorry for not understanding it earlier...
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  11. #11

    Thread Starter
    PowerPoster
    Join Date
    Mar 2005
    Posts
    2,943

    Re: [RESOLVED] Devide line by step of aumont...

    Quote Originally Posted by koolsid
    glad to help

    sorry for not understanding it earlier...
    no prob... sorry to my for terrible english.

    .. hummmmm have idea for:http://www.vbforums.com/showthread.php?t=448385
    tks.

Posting Permissions

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



Click Here to Expand Forum to Full Width