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 Sheets_To_File() | |
Dim filePath As String | |
filePath = Application.ActiveWorkbook.Path | |
Application.ScreenUpdating = False | |
Application.DisplayAlerts = False | |
For Each ws In ThisWorkbook.Sheets | |
ws.Copy | |
Application.ActiveWorkbook.SaveAs Filename:=filePath & "\" & ws.Name & ".xlsx" | |
Application.ActiveWorkbook.Close False | |
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 Sheets_To_Excel_Files() | |
' | |
' | |
' | |
'________powered by Imam Uddin | |
'________https://about.me/imamuddinwp/ | |
' | |
' | |
Dim Numb As Integer |
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 Merge_All_In_One() | |
' | |
' | |
' | |
' https://about.me/imamuddinwp/ | |
' | |
' | |
' | |
Dim fnameList, fnameCurFile As Variant | |
Dim countFiles, countSheets As Integer |
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 Run_Macro_Dir() | |
' | |
' Macro for running on multiple files in seleted folder. | |
' | |
' Imam Uddin; | |
' | |
'https://github.com/imamuddinwp | |
' | |
' | |
Dim xFd As FileDialog |
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 PO_Intregation() | |
' | |
' Macro1 Macro | |
' | |
' | |
Sheets("ExcelOut(PO)").Select | |
Rows("1:1").Select | |
Selection.Delete Shift:=xlUp | |
Cells.Select |
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 |