Do you use Excel 4.0 macro functions?

Do you use Excel 4.0 macro functions?

  • No

    Votes: 0 0.0%
  • Yes

    Votes: 0 0.0%

  • Total voters
    0

Jon von der Heyden

MrExcel MVP, Moderator
Joined
Apr 6, 2004
Messages
10,907
Office Version
  1. 365
Platform
  1. Windows
Do you use Excel 4.0 macro functions?

Just wondering how many of you use this. If so what do you commonly use XLM4 functions for? And if not why not?

For instance, we regularly receive questions on how to add up cells based on fill color. Though using umpteen colors in my models is not my preferred design, I frequently inherit color coded models that demand calculations based on color.

Personally I opt for GET.CELL and base my calculations around this method using Names. But then looking on the board most of the guru's prefer to suggest using a UDF. Not sure what the reasoning is behind this? From my perspective GET.CELL is alot easier than learning VBA syntax etc.

I know some run UDF's in add-ins, but again I see this as more of a problem since when I distribute the workbooks using the UDF's the users always receive #NAME? errors.

Any thoughts / comments?

Regards
Jon :)
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
No, I don't use XLM macros. Maybe that's just habit but I have found that I can do pretty much whatever I need using VBA. And one macro language for Excel is enough for me... :-)

However, I remember reading a really cool article by Juan Pablo González, showing how do Page Setup with XLM. Because it doesn't communicate via the printer driver it is significantly quicker than VBA for the same job. So, maybe there's a case for keeping XLM as an option.

Denis
 
Thanks for your feedback Denis.

I can't say that I'm an expert on XLM4 but do occassionally execute functions within my VBA projects.

E.g:
Code:
ExecuteExcel4Macro("GET.DOCUMENT(10)")
This will return the number of the last used row, which I find easier than some of the other methods.

Code:
Cells(Rows.Count, 6).End(xlUp).Row
I see this method used quite often, but of course this will always consider the last row as per the last item in a list in column F.

Code:
Cells.Find (What:="*", After:=[A1], SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row
Whilst this method would return a more TRUE last row but is considerably longer than the XLM4 method.

Regards
Jon
 
I use them infrequently, but they are handy when I do.

Specifically on the fly dialog sheets.

I'll have to find Juan's page setup article now.

Although I agree with Denis that one language is more than enough, especially now with VSTO...

Smitty
 
I remember reading that specific tip in Bullen et als seminal Professional Excel Development - and boy does it make page set up faster :-)
 
So in conclusion not many guru's have a passion for XLM4 macros! Of course apart from Juan's clever fast page set-up.

Also, from what I can gather using XLM4 to form calculations around colors is still quite valuable and no-one has highlighted advantages of using VBA UDF's over this, so I think I should continue as before. :-D

Thanks everybody for feedback.

Regards
Jon
 
So in conclusion not many guru's have a passion for XLM4 macros!
That would be a rather unscientifical conclusion.
Not many "guru's" did respond to this thread, would be more correct. :-D
 
Which could be interpreted as not many Guru's are interested in XLM4 :lol:
 

Forum statistics

Threads
1,222,703
Messages
6,167,738
Members
452,135
Latest member
Lugen

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