Excel to VCF Converter
To Convert Excel To VCard, follow these instructions:
- Download & Open Excel to vCard converter app.
- Enable macro & content editing if requested.
- Copy contacts to vCard converter spreadsheet.
- Type output Vcf file name.
- Click on ‘Convert Contacts to Vcf’ command button.
- Open & verify vCard file created in same folder.
Thats not all …
Get free Vba code to convert Excel contacts to Vcf format (or xlsx to VCard File).
If you are not that much familiar with Excel programming, then just quickly download this app & test it yourself.
Read this .. before Using Xls to VCF Converter:
- Do not leave any blank rows in between records. Code will stop conversion when it reads a empty row.
- You can find the Output File in the same folder where the Excel File is stored.
Downloaded 77,420 Times
Build your own converter app using the steps explained further:
1. Excel To vCard Converter – Step By Step
We manage contact details in Excel format mostly, because it will be in good readable format & easy to manage.
Many services like gmail, yahoo, Outlook have option to import contacts from Excel files. But not all operating system or Email client provide this feature.
To create a basic Excel to VCF creation follow these steps.
- Create a new Excel workbook with sheet1 having column headers as in below image.
- Once this is done, the free code present in this page can be used to export contact details to a VCF file.
Downloaded 77,420 Times
2. VBA Code to Convert Excel to VCF
Open the newly created Excel workbook. Press Alt+F11 and copy paste the below code. Press F5 to execute the code.
A VCF file will be generated in the path where the Excel is saved (Ex: “D:\OutputVCF.VCF”)
Note: If You want to Insert alternate phone number for a Contact, check the syntax of VCF file and Insert the corresponding tag in the below code.
Excel to VCF Converter - with VBA Macro codeVisual Basic12345678910111213141516171819202122232425262728293031'External Properties & Functions DeclarationPrivate Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hWnd As Long, ByVal Operation As String, ByVal Filename As String, Optional ByVal Parameters As String, Optional ByVal Directory As String, Optional ByVal WindowStyle As Long = vbMinimizedFocus) As LongPrivate Sub Excel_To_VCF_Converter()'Open a File in Specific Path in Output or Append modeDim FileNum As IntegerDim iRow As DoubleiRow = 2FileNum = FreeFileOutFilePath = ThisWorkbook.Path & "\OutputVCF.VCF"Open OutFilePath For Output As FileNum'Loop through Excel Sheet each row and write it to VCF FileWhile VBA.Trim(Sheets("Sheet1").Cells(iRow, 1)) <> ""FName = VBA.Trim(Sheets("Sheet1").Cells(iRow, 1))LName = VBA.Trim(Sheets("Sheet1").Cells(iRow, 2))PhNum = VBA.Trim(Sheets("Sheet1").Cells(iRow, 3))Print #FileNum, "BEGIN:VCARD"Print #FileNum, "VERSION:3.0"Print #FileNum, "N:" & FName & ";" & LName & ";;;"Print #FileNum, "FN:" & FName & " " & LNamePrint #FileNum, "TEL;TYPE=CELL;TYPE=PREF:" & PhNumPrint #FileNum, "END:VCARD"iRow = iRow + 1Wend'Close The FileClose #FileNumMsgBox "Contacts Converted to Saved To: " & OutFilePath & " - Join Email Subscription To Get Latest Updates"ShellExecute 0, "Open", "https://officetricks.com/email-subscription-page/"End Sub
Copy and Import to Android Contacts:
- You can view this VCF File created from this Excel to VCF converter in any text editor like notepad, because this is not an encrypted file format.
- This File can be copied to Android Phones or any other VCF supporting device or application and imported into Phone Contacts.
- From Android Device Contacts, choose Import from SD card option and select the file you just copied. Android will start to import the contacts to the device.
3. What is VCF or VCard File?
It is a file format used to store Contact Information like Name, Phone Number, Email Address, Mailing Address etc.,
In this this article you can learn – how to convert phone contact information in an Excel File to VCF file with VBA code and a trial product to generate contact file on your own. After Conversion this file can be transferred to supported Mobile Phones or Email Accounts to update in Contacts.
Related: Export VCF file to Excel
Also Read: Is PUBG getting banned in India?
4. Sample File format of Excel to vCard Converter
Each contact starts with a BEGIN: tag followed by Contact fields & then terminates with END: tag. In few advanced VCF formats, there are fields available to add even the profile picture, social profile, website etc.,
This converted VCF or vCard format is supported in many Email clients, Smart Phones and Operating systems to store the Contact details. For Example: Microsoft Outlook, Gmail, Android, iPhone & other smart phones.
Do not forget to read this article how to open & verify a vcf file.
The advantage of a VCF file are:
- It is not an encrypted file format.
- You can open this file using any Text file editor & modify manually.
- You can transfer the file over internet through Email or a simple file transfer through a USB Cable, Wifi or Bluetooth between devices.
Previous Post: Excel VBA html Table import – Export Web Table to Worksheet
Next Post: Hello World Program – Google Spreadsheet Scripts
Excel To VCF Converter – Excel To Vcard – 68,000 Downloads
- Block Apps in FaceBook print screen Excel Countif Record Macro Timer in Excel Task Manager VCF HTML Table Import Data Thumbnails Text to Speech TTS Candy Crush C++ Programing Machine learning AI bulk email Excel VBA vba color index vba color codes Android social media Twitter Google+ Google Adsense Tips bitcoin Calendar in Excel outlook vba mass email Data Mining Excel Macro Facebook WhatsApp python Wordpress