![]() |
|
#1
|
|||
|
|||
![]() Quote:
Hi Typos corrected (Thanks) I have put the macro in the spread sheet and added an extra line sh1.Cells(i, 5).ClearContents To clear the y from sheet1 as well as the number but when I click the button it replaces the stock on sheet2 instead of adding it to the stock that's already there. I don't have a clue what to do to add the 2 figures together so I would be most grateful if you could take another look for me? Cheers Ian |
#2
|
|||
|
|||
![]()
Quick and simple for now.
Change this line Code:
sh2.Cells(sh2.Columns(3).Find(a, , , 1).Row, 7).Value = sh1.Cells(i, 5).Offset(, -1).Value Code:
sh2.Cells(sh2.Columns(3).Find(a, , , 1).Row, 7).Value = sh2.Cells(sh2.Columns(3).Find(a, , , 1).Row, 7).Value + sh1.Cells(i, 5).Offset(, -1).Value |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2013 calendar reminders disabled on my calendar but show on boss's when i send invites | WUPJ | Outlook | 0 | 08-06-2014 05:29 AM |
TOC And my Boss | dynamictiger | Word | 2 | 07-21-2014 09:51 PM |
Please Help Before my boss drives me crazy! | amd250 | Project | 3 | 07-15-2014 09:10 AM |
![]() |
jessica19087 | Outlook | 1 | 08-26-2010 11:37 AM |
![]() |
Jen | Outlook | 2 | 07-29-2010 03:35 PM |