Copy Data by month to table using Inputbox with Add or Delete Row

CemHyur

New Member
Joined
Nov 11, 2022
Messages
4
Office Version
  1. 2016
  2. 2010
  3. 2007
Platform
  1. Windows
Hello Folks,

I neel little help to copy data from my Sheet(WrkingSheet) and Paste to TablebyMonth in another sheet (Diff) (didn't get attach option, so attached mini-sheet). Month name will provide in Inputbox, and acording to month provided, data of that particular month will go in the Table of that Month.
I have added the code in workbook but this is pasting data in month name sheet.

Please check.

I am new here so please help me if anywhere I am mistaking.


Below is WorkingData Sheet...

Book12.xlsm
ABCDEFGHI
1
2
3DateDes.Value
401/04/2022ABC11000
501/05/2022DEF12000
603/06/2022GHI14000
708/07/2022JKL15000
808/06/2022MNO16200
915/07/2022PQR5100
1012/05/2022STU2100
1104/05/2022VWX64201
1209/04/2022YZA54621
1325/04/2022BCD15000
1424/05/2022EFG30001
15
16
17
18
19
20Working Sheet
21
22
WrkingSheet




Below is Diff Sheet...

Book12.xlsm
BCDEFGHIJKLMNO
1
2DateDes.ValueDiff ValueRemark
3
4AprilTable Name: Diff_April
5DATA REQUIRE IN TABLE
6AS LIKE RequireLikeThis
7SHEET
8
9TOTAL0
10
11MayTable Name: Diff_May
12
13
14
15
16
17
18TOTAL0
19
20JuneTable Name: Diff_June
21
22
23
24
25TOTAL0
26
27
28AND SO ON
29
Diff
Cell Formulas
RangeFormula
G9,G25G9=SUM(G5:G8)
G18G18=SUM(G12:G17)




Require to paste data like this...

Book12.xlsm
BCDEFGHIJKLMNO
1
2DateDes.ValueDiff ValueRemark
3
4AprilTable Name: Diff_April
5DATA REQUIRE IN TABLE01/04/2022ABC11000
6AS LIKE THIS BY MONTH09/04/2022YZA54621
725/04/2022BCD15000
8WITH ADD OR DELETE
9ROW IF REQUIRETOTAL80621
10
11MayTable Name: Diff_May
1201/05/2022DEF12000
1304/05/2022VWX64201
1412/05/2022STU2100
1524/05/2022EFG30001
16
17
18TOTAL108302
19
20JuneTable Name: Diff_June
2103/06/2022GHI14000
2208/06/2022MNO16200
23
24
25TOTAL30200
26
27
28AND SO ON
29
RequireLikeThis
Cell Formulas
RangeFormula
G9,G25G9=SUM(G5:G8)
G18G18=SUM(G12:G17)
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Update:
I have tried this code but this is paste data into sheet with month name. (copy data by inputbox based on month)

I want to paste data in same sheet but different table. And require to replace data if any old/other data present in that cell with add or delete row as per entry.

Thank You.
 
Upvote 0
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Copy Data by month to table using Inputbox with Add or Delete Row - OzGrid Free Excel/VBA Help Forum
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
My Apologies. I have posted there for answers.

Also Thank you for guiding me.

Next time sure, I'll paste link too.


This Question also posted at:
 
Upvote 0
[Update]

Hello Friends,

Didn't get answer till now, so I have post this question in other forums also for looking the answer.

Here are the links:
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,263
Members
452,627
Latest member
KitkatToby

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top