Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default converting lotus macro

I am an old lotus guru that is lost in VBA.
Can someone convert the following simple lotus macro to VBA? It compares
two values and moves one set or the other if not matched to align two series
of data. "\b" compares debits, "\c" then compares the credits. 5 minutes work
in lotus, years of frustration in excel! Hope there are still some old
123pro's out there who'll understand this.

\a {goto}e17~
\b /xi@cellpointer("contents"}=""~{r}/xg/c~
/c~hold~
{right 4}~
/xi@cellpointer("contents")=hold~{down}{left 4}~/xg\b~
/xi@cellpointer("contents")<hold~{left 8}/m{end}{d}{r 5}~{d}~{d}{r 4}/xg\b~
/m{end}{d}(right 3}~{d}~{d}{left 4}/xg\b~

\c /xi@cellpointer("contents"}=""~/xq
/c~hold~
{right 4}~
/xi@cellpointer("contents")=hold~{down}{left 4}~/xg\c~
/xi@cellpointer("contents")<hold~{left 9}/m{end}{d}{r 5}~{d}~{d}{r 5}/xg\c~
{left}/m{end}{d}(right 3}~{d}~{d}{left 3}/xg\c~

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default converting lotus macro

I'm old enough to have used 123 and still remember part of it and even have
some old wk1 files somewhere. However, it would be far easier to just tell
us, in detail, what is desired.
If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results.


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"MusicMan" wrote in message
...
I am an old lotus guru that is lost in VBA.
Can someone convert the following simple lotus macro to VBA? It compares
two values and moves one set or the other if not matched to align two
series
of data. "\b" compares debits, "\c" then compares the credits. 5 minutes
work
in lotus, years of frustration in excel! Hope there are still some old
123pro's out there who'll understand this.

\a {goto}e17~
\b /xi@cellpointer("contents"}=""~{r}/xg/c~
/c~hold~
{right 4}~
/xi@cellpointer("contents")=hold~{down}{left 4}~/xg\b~
/xi@cellpointer("contents")<hold~{left 8}/m{end}{d}{r 5}~{d}~{d}{r
4}/xg\b~
/m{end}{d}(right 3}~{d}~{d}{left 4}/xg\b~

\c /xi@cellpointer("contents"}=""~/xq
/c~hold~
{right 4}~
/xi@cellpointer("contents")=hold~{down}{left 4}~/xg\c~
/xi@cellpointer("contents")<hold~{left 9}/m{end}{d}{r 5}~{d}~{d}{r
5}/xg\c~
{left}/m{end}{d}(right 3}~{d}~{d}{left 3}/xg\c~


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
converting from lotus 123 flux blocker Excel Worksheet Functions 1 July 15th 05 08:03 PM
converting Lotus 123 macro to Excell macro mark h Excel Discussion (Misc queries) 6 July 11th 05 01:28 PM
Assist in converting Lotus Macro to Excel? Mike123 Excel Programming 4 February 13th 04 09:44 AM
Converting Lotus 123 macro to Excel - copy/move data to worksheet Bernice[_2_] Excel Programming 7 February 12th 04 03:47 PM
CONVERTING A LOTUS MACRO Gary B[_4_] Excel Programming 0 October 29th 03 05:45 AM


All times are GMT +1. The time now is 04:11 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"