Forum: Visual Basic 4 / 5 / 6 Jul 6th, 2009 |
| Replies: 18 Views: 1,780 Hello everyone,
I am posting a Vlookup Macro. thanks to Brian Baulsom. I hope this will help everyone. If you have any questions please let me know.
... |
Forum: Visual Basic 4 / 5 / 6 Jun 12th, 2009 |
| Replies: 0 Views: 285 Hello,
I am trying to write a macro to add a few headings. I have the following macro.
Sub DOPaste()
Dim i As Integer
y =11
z = y |
Forum: Visual Basic 4 / 5 / 6 May 22nd, 2009 |
| Replies: 18 Views: 1,780 thanks man,
we are nearly there. the macro works for one client but it does not pick the balances for remaining clients. lets say 0014 is the first client and 0027A is the 2nd client and 0027A2 is... |
Forum: Visual Basic 4 / 5 / 6 May 21st, 2009 |
| Replies: 18 Views: 1,780 hey Cguan,
thanks for getting back to me.
after a long research i have found the following macro which copies data based on a condition and runs a loop as well.
Sub CopyData()
Dim lRow... |
Forum: Visual Basic 4 / 5 / 6 May 18th, 2009 |
| Replies: 18 Views: 1,780 hey Cguan,
thank you for the reply. the macro works but copies the entire row to sheet2.
nearly there but not quite. two more things
1) if i need to look for a whole column instead of y2 =... |
Forum: Visual Basic 4 / 5 / 6 May 15th, 2009 |
| Replies: 18 Views: 1,780 hey Cguan,
i have tried the above but it copies the macro to sheet2 rather than any data.
any ideas why is that?
thanks |
Forum: Visual Basic 4 / 5 / 6 May 14th, 2009 |
| Replies: 18 Views: 1,780 thank for getting back to me,
well i have attached a small example.
sheet1 has three columns "Client", "Code" and "Balance" and sheet2 has two columns "Client"and "Balance".
i want to... |
Forum: Visual Basic 4 / 5 / 6 May 13th, 2009 |
| Replies: 18 Views: 1,780 thank you cguan,
the code works fine.
i was wondering if i could run a loop on this as the code stops after looking at the first value in sheet1 and copies it to sheet2.
Also is it possible... |
Forum: Visual Basic 4 / 5 / 6 May 11th, 2009 |
| Replies: 18 Views: 1,780 well thank you for your reply,
I would not have to calculate anything as all the values are already in the database. i would need to find a specific result and copy over to sheet2. i hope this... |
Forum: Visual Basic 4 / 5 / 6 May 5th, 2009 |
| Replies: 18 Views: 1,780 Hello,
i am working on a macro where i need to copy data from a sheet to a different sheet in the same workbook. i normally use "vlookup" or "Sumif" or "Sumproduct" formulae to do the job. the... |
Forum: Visual Basic 4 / 5 / 6 Mar 27th, 2009 |
| Replies: 4 Views: 546 thank you very much Tu22,
i am very new to VBA and it seems very difficult for me to understand the code you have provided me with. i have attached an example of my database which is a cut down... |
Forum: Visual Basic 4 / 5 / 6 Mar 26th, 2009 |
| Replies: 4 Views: 546 I am trying to create a macro which could copy information from a datasheet and past it into sheets which are named as one of the Cells in column A.
I have a datasheet which contains five columns... |