Plz seeeeeeeeeeeeeee

syed_mushraf

Active Member
Joined
Oct 13, 2002
Messages
259
I want to save coding to activate for all sheets available in a workbook. Where shoul I save it. Because when I press Ctrl+Right mouse+View code on the sheet tab. It saves coding for current sheet.

Plz explain in detail to get rid of this problem.

Thankx in advance.
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
You need to put the code in the ThisWorkbook module. Right click the Excel icon to the left of File on the menu and choose View Code.
 
Upvote 0

syed_mushraf

Active Member
Joined
Oct 13, 2002
Messages
259
Dear Sir Andrew,
Many Many Thankx. Now its workig fine.

Can u plz tell me more if I need this coding to activate automatically for all workbook whenever I start excel. What should I do.

Rgds,
Musharraf
 
Upvote 0

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
That's more difficult. You will need a Class Module in your PERSONAL.XLS or in an Add-In that is opened when you start Excel.

For more information search Help for "Application Object Events" and click "Using Events with the Application Object".
 
Upvote 0

straus

Board Regular
Joined
Oct 7, 2002
Messages
192
You will have to type in the code in the ThisWorkbook module. Then you will have to Right click the Excel icon to the left of File on the menu and choose View Code. It will show you the code there after the run
 
Upvote 0

Forum statistics

Threads
1,190,897
Messages
5,983,447
Members
439,843
Latest member
PlanetFitness

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
Top