+ Reply to Thread
Results 1 to 1 of 1

how to copy specific data from a sheet to temp sheet and copy temp sheet toa new workbook?

  1. #1
    Registered User
    Join Date
    11-18-2014
    Location
    india
    MS-Off Ver
    2007
    Posts
    1

    how to copy specific data from a sheet to temp sheet and copy temp sheet toa new workbook?

    Hi,

    Please can any excel expert help me on the below problem:

    Input:-

    There is a button in my sheet which will open User Form that takes following inputs :-
    a) start date (textBox with the name txtStartDate) and end date(textBox with the name txtEndDate) in dd/mm/yyyy format.
    b)TeamName( lstTeam - listbox which allows users to take one or more teams)
    c) Level ( listbox with only 1 selection having name lstLevel)

    One button named "Submit" .
    On clicking submit, I want the code to perform below functionality in else block of the code.

    --------------------------------------------------------
    Private Sub btnReport_Click()
    Dim abc As Date
    Sheets(" Sheet1").Activate
    If ((Len(Me.txtStartDate.Value) = Empty) Or (Len(Me.txtEndDate.Value) = Empty) Or (Len(Me.txtSave.Value) = Empty) Or (Me.lstBoxReport.ListIndex = 0) Or ((Me.lxtBoxLevel.Value) = Empty)) Then
    MsgBox "Please enter all the values "
    Else:
    Exit Sub
    End If
    End Sub
    ---------------------------------------------------------
    Functionality :

    Please find the sample attached sheet..

    In the sheet you will find set of names with the tracker stating who all did projects i.e. the calendar having entry as P/P1 ETC.., now I want is when I select the dates and the input data from the form for example date 28/10/2014 to 04/11/2014 , team - SCM , LEVEL-ALL( means all the groups), I get the names of the person those who worked on the project in that period in another sheet, here sheet 2.

    ------------------

    Please can any excel expert help on this. I need this on urgent basis.

    regards,
    natasha
    Attached Files Attached Files
    Last edited by NatashaKapoor; 11-22-2014 at 10:25 AM.

+ 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. Copy specific data from a sheet to temp sheet and copy temp sheet to new workbook
    By ANUARORA in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-18-2015, 11:58 AM
  2. [SOLVED] excel cannot complete this task when paste values from temp sheet
    By squarahollier in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-09-2014, 09:10 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 worksheet into temp workbook format problem
    By kinsmancrag in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-05-2012, 06:55 PM
  5. [SOLVED] Cant Select temp Sheet
    By ExcelMonkey in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-16-2005, 02:06 PM

Tags for this Thread

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