+ Reply to Thread
Results 1 to 2 of 2

automatically retrieving data from share drive, generate new tab and format with msg box

  1. #1
    Registered User
    Join Date
    10-16-2012
    Location
    Dallas, tx
    MS-Off Ver
    Excel 2003
    Posts
    67

    automatically retrieving data from share drive, generate new tab and format with msg box

    Dear all,

    Please see attached file.

    The Report is named by Month and added to the folder. Ex. March AR. Report has many clients, i put example on the original data tab with only few clients due to the size. File path is C:\users\fab\documents\vb.

    On the Control tab, my goal is to click on the button, msg box pop up to ask for Client name and Month. By doing that, macro will go to that path and folder, first to identify the month. If user enters March, then pull March AR file. then by identifying the cient name which on Col H as Customer Description to pull information only related to this client and generate tab name as AR Report. Once the new tab generated, i like to format the data like what is on By Client tab.

    1. Delete row 1-5
    2.Bold headers
    3.freeze panel by col J2
    4. add total at bottom with borders, bold and yellow fill.

    So basically there are only two tabs at end, control and new AR Report tab.

    I have also added another tab called TB, that will be another file saved in the March folder along with March AR. on the 2nd thought, instead of clicking on each button at control tab, i am thinking that is there a way put general information (see control tab). enter Client Name and Month. Then when i click AR button, it will go to proper folder, pulling THE MONTH looking for and file like March AR, then pulling by Client Name entered from the file, generate tab on this template.

    same applied to tb file.



    And also by clicking on the reset workbook button to delete new AR Report tab.



    Please help and thank you so much
    Attached Files Attached Files
    Last edited by turbo600hp; 03-12-2013 at 08:08 PM.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: automatically retrieving data from share drive, generate new tab and format with msg b

    Is this solved?

    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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