+ Reply to Thread
Results 1 to 16 of 16

help with VBA codes to extract selected data from worksheet on specific conditions

Hybrid View

  1. #1
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: VBA Codes/ Macro help me please

    Change
    count_1 = 1
    to
    count_2 = 1
    and copy the information across using either:
    Sheets("Sheet1").rows(1).copy Sheets("Sheet3").Range("A1")
    or
    Sheets("Sheet1").rows(1).copy ws.Range("A1")
    Depending on whether you are using an existing sheet or adding a new one.

  2. #2
    Registered User
    Join Date
    09-09-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    40

    Re: VBA Codes/ Macro help me please

    @yudlugar

    Hello there

    Thanks a lot for helping me out

    One last query please. Probably being thick here. How can i allow the second macro to retrieve the data for Dawn Gray for example. I have given the thought of retrieving the data in the same sheet. If you see on Sheet 2, I have got the data retrieved for Sue Hendry. What i would like to do now is click on "Dawn Gray" and it clears the data for Sue and retrieves the data for Dawn?

    Is this possible. For example. i am attaching the latest sheet.

    Thanks
    Attached Files Attached Files
    Last edited by jeffreybrown; 09-10-2013 at 07:29 AM. Reason: As per Forum Rule #12, please don't quote whole post unless necessary -- it's just clutter.

+ 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. macro for weeknum
    By aesanchez in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-15-2013, 05:42 AM
  2. [SOLVED] Combine codes into one macro
    By Russ Fuquay in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-24-2013, 10:48 AM
  3. Combining vba codes makes the previous codes broken !
    By MDPLUS in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-26-2013, 10:00 AM
  4. Replies: 6
    Last Post: 11-28-2006, 01:08 PM
  5. Macro (Codes)
    By Bonbon in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-24-2006, 12:52 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