Plz seeeeeeeeeeeeeee

syed_mushraf

Active Member
Joined
Oct 13, 2002
Messages
261
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

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
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
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
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
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,214,431
Messages
6,119,458
Members
448,899
Latest member
maplemeadows

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