Hi,
I have a very simple excel macro that save me a lot of time each day, and I would like to convert it to AppleScript so I can use them in Excel 2008 for Mac.
I am apparantly technologically challenged, and although I somehow managed to create a working macro some time ago, I can't seem to figure out how to convert it to applescript.. Can you wonderful people out there help me?
The macro is for putting several columns into one, and it looks like this:
Code:Sub ToOneColumn() Dim i As Long, k As Long, j As Integer Application.ScreenUpdating = False Columns(1).Insert i = 0 k = 1 While Not IsEmpty(Cells(k, 2)) j = 2 While Not IsEmpty(Cells(k, j)) i = i + 1 Cells(i, 1) = Cells(k, j) Cells(k, j).Clear j = j + 1 Wend k = k + 1 Wend Application.ScreenUpdating = True End Sub
Last edited by romperstomper; 09-06-2010 at 10:05 AM. Reason: add code tags
Hi suppedraken -
It is my understanding that the Mac versions of Excel don't have the ability to do Macros. I believe the upcoming version of Mac Excel may have the ability but it isn't out yet.
That is correct, but everyone keeps telling me I can just convert it to applescript or automator?
The same question was posted here and was subsequently marked as SOLVED thanks to a reply from Leith Ross so you may want to check the link that was provided.
http://www.excelforum.com/excel-prog...plescript.html
Sorry guys, I read through it, but I couldnt figure out how to convert the macro above. I guess I am going back to pc instead, as I cant seem to find out how to solve this one.
Thanks for your help though.
Bookmarks