Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default How does a module of VB work in a Worksheet?

Hi VJ,

Make it a public function and add it to a module (Alt+F11, Insert, Module)

A public function is availabe to every sheet in the workbook.

You could also add a macro button to your worksheet that runs your code on
click.

Regards

Trev B


"VJ Sharma" wrote:

I have found a user defied function for converting the numeric value into
text, I have inserted the by using Alter+F11 in particular Worksheet. And
found that it was resulting wha I needed. But after some days I used the same
function in the sme worksheet. But did not work. I then again did the same
process but it dis no t work. But if I use it in the other worksheet by doing
the same process, it works perfectely. But I eed this function in my previus
worksheet only. Can someoe guide me where I'm making mistake.
Thanks
VJ Sharma

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CLASS MODULE & SIMPLE MODULE FARAZ QURESHI Excel Discussion (Misc queries) 1 September 7th 07 09:32 AM
to call procedure in a worksheet in a module CAPTGNVR Excel Discussion (Misc queries) 4 January 30th 07 09:39 PM
Set Worksheet Names in a Module Noemi Excel Discussion (Misc queries) 1 July 20th 06 01:39 PM
Where?Worksheet code module or Worksheet_SelectionChange event han Kenzie Excel Worksheet Functions 4 January 30th 06 09:41 PM
code in module A to not execute a Worksheet_SelectionChange sub of another module Jack Sons Excel Discussion (Misc queries) 4 December 11th 05 11:52 PM


All times are GMT +1. The time now is 09:32 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"