Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
xxx
 
Posts: n/a
Default how can i call sub or function in vba code

hi,
i request that how can i call sub or function in vba code

thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default how can i call sub or function in vba code

Call mySub

or with parameters

Call mySub(val1, "Text val")

if it is a function

myVal = myFunc(val1)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"xxx" wrote in message
ups.com...
hi,
i request that how can i call sub or function in vba code

thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
Norman Jones
 
Posts: n/a
Default how can i call sub or function in vba code

Hi XXX,

i request that how can i call sub or function in vba code


'=============
Public Sub Tester()

'your code
Call MyMacro
'possibly more code

End Sub
'<<=============


---
Regards,
Norman


  #4   Report Post  
Posted to microsoft.public.excel.misc
Norman Jones
 
Posts: n/a
Default how can i call sub or function in vba code

Hi Bob,

Apologies, I failed to see your earlier - and better - response!


---
Regards,
Norman



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
numerical integration integreat Excel Discussion (Misc queries) 4 May 12th 06 02:40 AM
Web Services function call and data refreshing Jonathan Stone Excel Worksheet Functions 0 June 1st 05 02:43 AM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
how i can call the function reneabesmer Excel Worksheet Functions 2 May 2nd 05 12:13 PM
Error trapped only while stepping through the code - Not triggered when run Jeff Excel Discussion (Misc queries) 7 March 7th 05 06:29 PM


All times are GMT +1. The time now is 11:02 AM.

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

About Us

"It's about Microsoft Excel"