Calling a sub from excel sheet

satish_j

New Member
Joined
Sep 16, 2011
Messages
10
I found a excel sub/macro from Internet that allows a single cell contents to be split into multiple rows based on certain character.I copied the code and pasted in a new module window opened from excel(F11 key)
Now,if i go back to worksheet and enter the name of sub in a cell,it says 'That name is not valid'.I guess iam not properly calling the sub.
Can anyone help me how to call a sub from excel sheet?
Thanks..
 
Thanks..my prob is solved..:)
Do i have to run this macro everytime from VBE?is there any shortcut so that it can be used from sheets whenever i need it?
 
Upvote 0

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Forum statistics

Threads
1,224,618
Messages
6,179,919
Members
452,949
Latest member
beartooth91

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