Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / January 2006

Tip: Looking for answers? Try searching our database.

execute a macro from within an if(,,) function?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David Henderson - 24 Jan 2006 13:38 GMT
Hi all
Please could somebody tell me if it is possible to call a macro from an if()
function

eg if (condition true, macro1,macro2)
I am thinking not, but ....?
Any help would be much appreciated
Thanks in advance
David
Bob Phillips - 24 Jan 2006 13:50 GMT
You can call a function if that function just returns a result, but not
anything that looks to change some attribute of the worksheet, such as font,
colour. These type of functions are called User Defined Functions (UDF).

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

> Hi all
> Please could somebody tell me if it is possible to call a macro from an if()
[quoted text clipped - 5 lines]
> Thanks in advance
> David
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.