![]() |
#13
|
|||
|
|||
![]()
Ok I understand with the exception of 2 things
Public Sub ViewPrjByMth() Dim strField As String, pMonth As Date, amt pMonth = DateValue("1-Mar-2019") strField = "Army" amt = PrjByMonth(strField, pMonth) MsgBox amt & ", " & strField & ", " & pMonth End Sub This part "pMonth = DateValue("1-Mar-2019")" only searches for that one particular date, I need it to do all the dates It's not filling in the table it only gives me a message of what it finds, I need it to fill in the tab "PrjByMth" with the information in the tabs FY2019 thru FY2013. I don't need the message box. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
I want to create a bar chart of multiple variable. Then I need to draw trend lin of those variable | shimulsiddiquee | Excel | 1 | 05-16-2017 07:39 AM |
Run Time Error '91': Object variable or With block variable not set using Catalogue Mailmerge | Berryblue | Mail Merge | 1 | 11-13-2014 05:36 PM |
![]() |
JUST ME | Word VBA | 4 | 03-25-2014 06:56 AM |
![]() |
tinfanide | Excel Programming | 2 | 06-10-2012 10:17 AM |
30+ days Variable Day Date Calculations via Fields | ztag | Word | 2 | 01-06-2012 11:12 AM |