Copying formula from One sheet and pasting in all the sheets available in that workbook

Chandresh

Board Regular
Joined
Jul 21, 2009
Messages
146
Hi All,

Need a help in copying the formula from database sheet cellAA3 to all the sheets in excel workbook in cell AA1

1) I have VLOOKUP formula in cell AA3 in databasesheet.
2) Need a macro to copy the formula from Cell AA3from database sheet and paste in all the sheets available in that workbook.


Thanks in advance for your Help
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
I need this code in all the sheet available in the workbook except summary & data sheet

Range("A1").Select
ActiveCell.FormulaR1C1 = "=VLOOKUP(R[2]C,Data!C:C[1],2,0)"
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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