This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub Yes_Or_No() | |
Dim yn_Cond As Integer | |
yn_Cond = MsgBox("Are you ready for the next operation?" & vbNewLine & "-------------------------" & vbNewLine & " Check 'Data' column carefully !!!", vbYesNo + vbQuestion, "proudLy powered by ImAmUdDiN ") | |
If yn_Cond = vbYes Then | |
'code goes here' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub Sheet_Names_List() | |
' | |
' | |
' | |
Worksheets.Add | |
ActiveSheet.Name = "Tab_List" | |
Dim ws As Worksheet | |
Dim x As Integer | |
x = 1 | |
Sheets("Tab_List").Range("A:A").Clear |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function IsFormula(rng As Range) As Boolean | |
IsFormula = rng.HasFormula | |
End Function | |
Ques:01# I need to filter cells with formulas and not to select them , is that possible by a simple or advanced filter ? | |
Ques:02# I need to filter cells with formulas and not to select them , is that possible by a simple or advanced filter ? | |
Ques:03# How to Filter Formula in Excel? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub Get_File_Names_List() | |
Dim Fldr As String, Fname As String | |
Dim ObjFldr As Object | |
Dim i As Long | |
Set ObjFldr = Application.FileDialog(4) | |
With ObjFldr | |
.Title = "Choose a folder" | |
.AllowMultiSelect = False | |
If .Show = -1 Then Fldr = .SelectedItems(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get Email from raw data: | |
=TRIM(RIGHT(SUBSTITUTE(LEFT(A2,FIND(" ",A2&" ",FIND("@",A2))-1)," ",REPT(" ",LEN(A2))),LEN(A2))) | |
#Get Varified Email: | |
=AND(ISERROR(FIND(" ",B2)),LEN(B2)-LEN(SUBSTITUTE(B2,"@",""))=1,IFERROR(SEARCH("@",B2)<SEARCH(".",B2,SEARCH("@",B2)),0),NOT(IFERROR(SEARCH("@",B2),0)=1),NOT(IFERROR(SEARCH(".",B2,SEARCH("@",B2))-SEARCH("@",B2),0)=1),LEFT(B2,1)<>".",RIGHT(B2,1)<>".") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub Excel_Download_Image_From_URL() | |
'Proudly Powered by Imam Uddin | |
'https://gist.github.com/imamuddinwp | |
Dim Pshp As Shape | |
Dim xRg As Range | |
Dim xCol As Long | |
On Error Resume Next |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub BI_Report() | |
' | |
' Macro4 Macro | |
' | |
Selection.CurrentRegion.Select | |
Selection.Columns.AutoFit | |
Selection.Borders(xlDiagonalDown).LineStyle = xlNone | |
Selection.Borders(xlDiagonalUp).LineStyle = xlNone | |
With Selection.Borders(xlEdgeLeft) | |
.LineStyle = xlContinuous |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub Trim_Arrangement() | |
' | |
' Macro1 Macro | |
' | |
' | |
Sheets("ExcelOut(Trim)").Select | |
Rows("1:1").Select | |
Selection.Delete Shift:=xlUp | |
'--------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub PO_Intregation() | |
' | |
' Macro1 Macro | |
' | |
' | |
Sheets("ExcelOut(PO)").Select | |
Rows("1:1").Select | |
Selection.Delete Shift:=xlUp | |
Cells.Select |