DISCLAIMER: I AM A TOTAL MACRO SCHEDULER NOOB!
So, let me start by saying that I'm finding your scripting application easier and easier to use as I go along. I've graduated from a simple 'open notepad.exe and write a line' to accessing numerous excel spreadsheets in a directory and using data from specific cells as input to another application on a remote computer. All in just a matter of days. So thanks for taking pity on us older (elderly) coders.
I need clarification on the XLGetSheetDims command - the manual says that it returns the number of rows and columns containing data in a given sheet. However, I have found that the term 'data' may not mean text, numbers or spaces, but may also mean any formatting styles (cell borders, etc). Is this correct?
Thanks,
Sandy
XLGetSheetDims clarification
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: XLGetSheetDims clarification
Yes, if the cells have been formatted, then it will count down to the last one formatted. What I usually do when looping through a sheet is always test to see if the cell is empty and break out of the loop if so.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Re: XLGetSheetDims clarification
Thanks, Marcus
Appreciate the quick reply
Appreciate the quick reply