PC Review


Reply
Thread Tools Rate Thread

Array code ?

 
 
Seeker
Guest
Posts: n/a
 
      1st Nov 2009
I am inability to adopt and modify codes in other threads as they are too
difficult for me to understand. Similar thread was posted before but now
requires a solution to accomplish more complex issue.
Sht 1
Col B = Date, Col D = amount, Col E = text (10 different text), Col F = text
(17 different text)
Select data base on
If(And(OR(Col B=Today(),if(weekday(Today)=Sat,Col B=Today()+3,Col
B=Today()+1),OR(Col E =”A”,Col E=”B”)),copy Col D and its comment,nothing)
Results will be paste to Sht 2.
The comments were generated by following code (content of comment = Col E)
Dim tst As String
tst = ActiveCell.Offset(0, 1).Value
ActiveCell.NoteText tst
Sht 2
Row 28 is a heading row from Col A to Q, when cutting first left 4
characters from them like =RIGHT(A28,LEN(A28)-4), they will be same as Sht 1
Col F

The paste destination on finding result is depends on the match of Sht 1 Col
F and Sht 2 heading.
Rgds

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using an Array to re-use code godiva Microsoft Access VBA Modules 1 13th Dec 2005 10:38 PM
code for organizing array sarjuhindocha@gmail.com Microsoft Excel Programming 1 18th Oct 2005 01:00 PM
Can I use array to simplify this code. broogle Microsoft Excel Programming 3 18th Mar 2005 12:57 PM
Passing Array from C# manged code to unmanged code Manish Microsoft C# .NET 2 6th Jan 2004 08:14 PM
Re: Passing array of bytes from VB Managed code to VC unmanaged code Wael Bakr Microsoft VC .NET 1 10th Jul 2003 12:12 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:31 PM.