RAJESH1960
Banned for repeated rules violations
- Joined
- Mar 26, 2020
- Messages
- 2,313
- Office Version
- 2019
- Platform
- Windows
Hello guys
This code was written by JohnnyL. It is a perfect code but I forgot to mention one condition in my query. So I need help to edit the code. The code runs correctly when there is a #N/A error in column F in the List of ledgers sheet. I want to add one condition in it. If there is not a single error in column F then the code should display a message box stating that "All Ledgers Available.". Right now the code shows an error when there is no error in column F at this line
Query Code to get Ledger names from another sheet.xlsm
This code was written by JohnnyL. It is a perfect code but I forgot to mention one condition in my query. So I need help to edit the code. The code runs correctly when there is a #N/A error in column F in the List of ledgers sheet. I want to add one condition in it. If there is not a single error in column F then the code should display a message box stating that "All Ledgers Available.". Right now the code shows an error when there is no error in column F at this line
Rich (BB code):
Sheets("MasterData").Range("B2").Resize(.Count) = Application.Transpose(.keys)