LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
G C G C is offline
external usenet poster
 
Posts: 6
Default VBA assistance needed

I have to reconcile my multiple bank account transactions with my system's compiled transactions and need the unique system id against that account no.

I've coded the same but 2 problem arise.

1. If bank transaction are out of my system transactions the system stop running and showing error "object not Found" instead of skipping transaction and moving to next transaction.

2. I have few similar(Amount) transactions in my 2 different accounts for which i need to run "findnext" command but its not working in this as well.

I'm definitely mistaking somewhere pls guide.


Coding:-

Sub Reconciling()

Dim Mycell As Range
Dim Newrange As Range
Dim sys_amt As Range


Set sys_amt = Range("b2", Range("b2").End(xlDown))
Set Newrange = Range("f2", Range("f2").End(xlDown))


For Each Mycell In Newrange


sys_amt.Find(Mycell).Select

If ActiveCell.Offset(0, 1) = Mycell.Offset(0, 1) Then
ActiveCell.Offset(0, -1).Copy Mycell.Offset(0, 2)
Else
MsgBox ("Not Showing")

End If

Next Mycell


End Sub





 
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
VLOOKUP --- Assistance Needed Himansu Excel Programming 3 January 19th 09 05:36 PM
VBA Assistance Needed RalphB Excel Discussion (Misc queries) 5 February 22nd 06 06:16 PM
Coding assistance needed. fpd833 Excel Programming 1 November 17th 04 06:05 PM
Macro assistance needed HJ Excel Programming 3 November 2nd 04 10:46 PM
Assistance Needed with Comparing alexm999[_74_] Excel Programming 4 May 19th 04 10:04 PM


All times are GMT +1. The time now is 08:54 PM.

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"