Ancient macro help (pre-VBA)

gravanoc

Active Member
Joined
Oct 20, 2015
Messages
353
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
I'm trying to convert some spreadsheet macros to VBA. I'm thinking they are either Excel 4.0 Macros or Lotus macros. If someone could point me where to look to better understand these.
I get that the RIGHT, LEFT, etc. are probably just telling the active selection to move in that direction, GOTO means to go to a cell, & END with a direction means to move until the next active cell in that direction.. QUIT ends the macro. /CONE, /CTWO, etc. are probably labels, but they break from that pattern further down.

I don't know what the tildes represent - sometimes there is one tilde, sometimes two. Also unsure about the dots, the question mark, etc.
Might have used the \A, \B, etc. to activate the macro.
1736958636909-png.121275
 

Attachments

  • 1736958636909.png
    1736958636909.png
    34.6 KB · Views: 47

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Do you know what these macros accomplish? If so, I would just create a new version of that from scratch in VBA instead of trying to understand that code.
For example, it's not generally necessary in VBA to actually select a certain cell in order to work with it so recreating that kind of functionality probably isn't worthwhile.
 
Upvote 0
Do you know what these macros accomplish? If so, I would just create a new version of that from scratch in VBA instead of trying to understand that code.
For example, it's not generally necessary in VBA to actually select a certain cell in order to work with it so recreating that kind of functionality probably isn't worthwhile.
That's part of the problem. I don't know the context of why they're used, other than basic utility perhaps. It is a sheet that calculates sewage flows.
 
Upvote 0
Ah the memories come flooding back lotus 123 macros
/WIR is worksheet INSERT Row
Tilde ~ is a carriage return
/WDR is worksheet DELETE Row

The slash gets you control of the main menu, and the following letter was the first letter of the command
/R is range
/C is cell

Most of the other lines are defining macros
\A etc etc
These will probably be triggered later, as to what they are doing I will need to think harder as it’s over 40 years ago
You can find L123 reference manuals online
 
Last edited:
Upvote 0

Forum statistics

Threads
1,225,739
Messages
6,186,741
Members
453,370
Latest member
juliewar

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