Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50061

Automatically copy and paste (or update) cell values to another worksheet using VBA code

$
0
0
Hi guys,

I am currently using an Advanced Filter VBA code to copy and paste filtered cell values from worksheet 2 to a table in worksheet 1.

The sample excel file attached below has three buttons in total:

1. Application button - copy and paste those cells in worksheet 2 that begins with alphabet A to a table in worksheet 1

2. Electronic button - copy and paste those cells in worksheet 2 that begins with alphabet B to a table in worksheet 1.

3. All button - copy and paste all the cell values in worksheet 2 to a table in worksheet 1

Now, instead of pressing the All button whever the cell values in worksheet 2 changes, I want this to be done automatically.

So, when a single cell value in worksheet 2 changes, the table in worksheet 1 automatically mirror this change.

Any idea?

Thanks
Attached Files

Viewing all articles
Browse latest Browse all 50061

Trending Articles