Data Validation in Excel VBA - VBA Code to Validate Data Entry

  Рет қаралды 21,011

Excel Destination

Excel Destination

Күн бұрын

This Excel VBA Macro Tutorial explains VBA Code to validate Data Entry in Excel.

Пікірлер: 15
@JATINKUMAR-qu4vi
@JATINKUMAR-qu4vi 2 жыл бұрын
Awesome tutorial👍
@davidtostenson4083
@davidtostenson4083 3 жыл бұрын
Is there a video to validate data from a known list? I want an error message for invalid part number without using a drop down menu.
@rhmanagoli
@rhmanagoli 3 жыл бұрын
Sir, Good Logic
@anhnhatnguyet4628
@anhnhatnguyet4628 3 жыл бұрын
In folder X, I have 2 excel files from column A to column H. Now I want to delete the unnecessary columns B: D, F, H in both excel files of the folder. How to write VBA code, so that when running the code, a message box will appear looking for the X directory address (or you can enter the X directory path directly into the code)
@ganeshkumar-tj6lx
@ganeshkumar-tj6lx 3 жыл бұрын
Sub deletecolumn() Dim MyFolder As String Dim MyFile As String Application.DisplayAlerts = False Application.ScreenUpdating = False MyFolder = "E:\Exp" MyFile = Dir(MyFolder & "\*.xlsx") Do While MyFile "" Set OpenBook = Application.Workbooks.Open(MyFolder & "\" & MyFile) OpenBook.ActiveSheet.Range("B:D,F:F,H:H").Delete OpenBook.ActiveSheet.Range("A1").Select MyFile = Dir OpenBook.Close SaveChanges:=True Loop Application.ScreenUpdating = True End Sub
@MohAboAbdo
@MohAboAbdo 3 жыл бұрын
Thank you so mutch Sir.
@ExcelDestination
@ExcelDestination 3 жыл бұрын
You are most welcome
@srinivasgoudmanthapuri2719
@srinivasgoudmanthapuri2719 Жыл бұрын
👌👌
@ansjai7526
@ansjai7526 3 жыл бұрын
Sir make a video on live data from a source and make a excel with different time intervals automatically
@ExcelDestination
@ExcelDestination 3 жыл бұрын
Will try
@sahirarman8409
@sahirarman8409 3 жыл бұрын
sir please give the vba code export excel range to png jpg format high resolation 300dpi and 600 dpi
@ExcelDestination
@ExcelDestination 3 жыл бұрын
Will upload soon
@TheJaebeomPark
@TheJaebeomPark 3 жыл бұрын
Thanks
@ExcelDestination
@ExcelDestination 3 жыл бұрын
Welcome
@karmusinghsiddhu190
@karmusinghsiddhu190 3 жыл бұрын
can pls help on this Private Sub Worksheet_Change(ByVal Target As Excel.Range) If Range("A1") "" Then Range("A1").Select Selection.AutoFill _ Destination:=Range("A1:A5"), Type:=xlFillDefault 'Range("H1").Value = "=IF(AND(F5="",G5="",H5="")),"",(I4+F5-G5-H5)" End If 'End With End Sub
VBA to Convert Table to Range - Excel VBA Example
2:52
Excel Destination
Рет қаралды 11 М.
Nutella bro sis family Challenge 😋
00:31
Mr. Clabik
Рет қаралды 14 МЛН
WHAT’S THAT?
00:27
Natan por Aí
Рет қаралды 12 МЛН
Automate Date Validation Using VBA
11:38
Dinesh Kumar Takyar
Рет қаралды 7 М.
How To Validate Userform Inputs With Excel VBA (Excel Userforms For Intermediates 2)
8:18
Excel VBA Run  Code from Drop Down List
8:18
The Excel Cave
Рет қаралды 4,3 М.
Excel VBA Code for Data Validation Including Drop Down List
9:21
Chester Tugwell
Рет қаралды 45 М.
VBA User Form: Add, Update, Delete and Save
22:47
hay kel
Рет қаралды 27 М.
STOP Learning These Programming Languages (for Beginners)
5:25
Andy Sterkowitz
Рет қаралды 666 М.
Excel VBA Userform with Vlookup
8:43
Online Pc Learning
Рет қаралды 332 М.
How to Use Arrays Instead of Ranges in Excel VBA
10:20
Excel Macro Mastery
Рет қаралды 196 М.
SUPER EASY Excel Data Entry Form (NO VBA)
6:22
Leila Gharani
Рет қаралды 2 МЛН
Nutella bro sis family Challenge 😋
00:31
Mr. Clabik
Рет қаралды 14 МЛН