Dear Nilay
Why you are prefering for VBA code to do this. Excel built in functions can do this for you without using the VBA code. Please enter the below formula in sheet "PL" cell B12 and drag it down.
=IFERROR(VLOOKUP(A12,Data!$A$3:$B$31,2,FALSE),"")
Please inform if anything goes wrong.
Dear Kacyi
In your above question, you mentioned "I need to find a way to copy comments I made on the old file", here comments means cell comments ( as yellow color box at the corner of the cell) or just you typed some text in that cell.
Please clear to resolve the problem
Dear Santhosh
from which column (B,C,D,E), you want to insert one column before(left side) and one column after (right side). I can't able to findout. Please suggest.
Dear Abhijeet
I hope the below code will work.
Sub FileDetails()
Dim fso As New FileSystemObject
Dim myFolder As Folder
Dim myFile As File
Dim i As Integer
Set myFolder = fso.GetFolder("D:\ARRAY FORMULAS") ' change the folder path
If myFolder.Files.Count > 0 Then
i = 1...
Dear rumshar
Please have a look at this link. It might be helpful
http://www.vbaexpress.com/kb/getarticle.php?kb_id=379
http://datapigtechnologies.com/blog/index.php/forcing-your-clients-to-enable-macros/
Dear rumshar
If you are familar with VBA, you can put VBA code at the event of file opening. My idea is, you should force all the users to enable macros before watching the report (not verbally or personally, just use the power of VBA). Your code should force them to enable the macros and you...
Dear Santosh
Please open your desired excel, in which you wants to put this macro. Press Alt+F11 to open VBE editor. Then left side there will project explorer. You can see Thisworkbook object. Double click on it to open the editor. Then a blank window will appear. You paste the above code...
Dear Krispar
Can you elaborate more. What does it mean "combine". If you want to merge all the sheets into one sheet with the same standard structure, please upload sample file with explanation
Dear Aurelie
Thank you so much for your suggestion. I already go through this websites. I preferred Techonthenet.com. Very good explanation and their using. During this search i found another site http://www.functionx.com. Cleared explantion along with example databases. I liked so much
Dear All,
Can you please suggest me the best online training/tutorial provider for Ms Access 2010 including both beginners and advanced level.
I have little bit knowledge in Ms Access 2010 through reading online blogs and books and watching online videos at youtube. But I can't able to apply...
I have created small macro... i hope it will help you.
Sub CellFormat()
Dim cell As Range
Dim rng As Range
Set rng = Application.InputBox("Select Range", "Range selection", , , , , , 8)
For Each cell In rng
cell.NumberFormat = "m/d/yyyy"
Next
End Sub
Dear thifu3,
You can use =COUNTIFS() to get the results. As per your data range, =COUNTIFS(A1:A5,A11,B1:B5,">0"), in this i used A11 as criteria (5 Years).