HI, Here is the required macro to search a field and if value found copy the whole row into another...
I found a solution like this :Records in between two specific dates easily can be filtered using drop-down lists ....
I found a solution as follows: Watch the video to see how it's done and download example file : https://youtu.be/SZduAoOtiS0
I have sorted the above problem. Code is given below... [code] Sub seperate() Call CleanSheets MsgBox "1 of 10 Cleaning...
Hi, Here is the VBA code to Split the Workbook into different Files by Each Sheet in the file and...
Hi, You can loop through the Sheet using Workbook Sheets Collection. See the Updated Code below: [code] Sub sbDeleteRows() 'Array...
Hi, We can follo several methods to fill the unique values from the worksheet to ListBox. Here is my preferred...
Code for Command Button ( Export)
Source sheet: Data from active workbook Sheet name Export.
Destination to be new workbook and also to ask user, to save it in location as required by user.
Here is the code to Export a worksheet to required folder:
strFilePath = "C:\test.xlsx" ' FilePath nd name to save the file
You can call this procedure in your command button click event procedure as shown below:
before trying this, requirement is to ask from user the location to save file ?
Could you share the code for that also ? Thanks.
Error message after running the code.
Pls suggest further.
Refer the VBA for Save dialog box in the below article and implement in your macro.
Please share using the share button above.
If you found the answer is best answer for your question, Please mark as 'best answer' by clicking on the right tick mark icon at the left side of the answer.
Found the answer useful and wants to credit the user, then vote the answer (vote up).