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
Which could be interpreted as not many Guru's are interested in XLM4 :lol:

Could also be interpreted as hardly any 'gurus' were interested in posting to one of your threads, Baron!

:lol:
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
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

This code :-

Code:
ExecuteExcel4Macro("GET.DOCUMENT(10)")

does not do the same thing as the other two bits of code you posted.

It locates the last used row, while the other two bits of code locate the last row containing data.
 

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