Генератор gs1 128 excel

  • Adds dynamic Code 128 & GS1-128 barcodes to Microsoft Excel spreadsheets without installing special fonts, DLLs or other plug-ins.
  • Supports Code 128, GS1-128, Code 128 A, B, C, Auto and other standards based on the Code 128 barcode symbology.
  • Compatible with Excel 2007 and up in Windows, and Excel 2016 and up on Mac with VBA Support, both 32 and 64-bit systems.
  • Adjustable parameters include Mils for X-dimension, N_Dimension, IncludeCheckDigit, DPI, Orientation and more.
  • Complete source code for the VBA Module is provided at purchase.

User Manual
Integration Download Demo Buy License

Microsoft Excel Code 128 Barcode Generator Overview

The Microsoft Excel GS1-128 & Code 128 Barcode Generator is a native VBA module that is embedded into a Microsoft Excel spreadsheet to display barcodes based on the Code 128 symbology on forms and reports. This native object does not use other fonts or components, and stays with the database even through distribution.

Бесплатно Создать Штрихкоды Онлайн

Линейные Штрихкоды, 2D Коды, GS1 DataBar, Почтовые Штрихкоды и многие другие!

Данный онлайн генератор штрихкодов демонстрирует возможности
программных компонентов
приложения TBarCode SDK.
TBarCode
упрощает создание штрихкодов в Ваших приложениях, например в C# .NET, VB .NET, Microsoft® ASP.NET, ASP, PHP, Delphi и многих других языках программирования.
Вы можете протестировать этот онлайн генератор штрихкодов без установки дополнительного программного обеспечения
(Условия Предоставления Услуг).
На данной странице Вы можете сгенерировать такие штрихкоды, как
EAN,
UPC,
GS1 DataBar,
Code-128,
QR Code®,
Data Matrix,
PDF417,
Почтовые Штрихкоды,
ISBN и многие другие.

Ваши преимущества

Для зарегистрированных пользователей в ближайшее время будут добавлены новые расширенные функции.

Спасибо за Ваш интерес! Для получения дополнительной информации, пожалуйста, свяжитесь с нами!

Данный генератор штрихкодов является бесплатным

Вы можете использовать данный генератор штрих-кодов как часть Вашего некоммерческого веб-приложения или веб-сайта для создания штрих-кодов, QR-кодов и других 2D-кодов с собственными данными.
В ответ мы просим Вас разместить на Вашем сайте обратную ссылку с текстом «Генератор штрихкодов от TEC-IT».
Использование логотипов TEC-IT опционально.
Пожалуйста, свяжитесь с нами, если Вы хотите использовать данный сервис в коммерческих целях.

Для размещения обратной ссылки используйте подготовленный HTML-код.

<div style='text-align: center;'>
<!-- insert your custom barcode setting your data in the GET parameter "data" -->
<img alt='Barcode Generator TEC-IT'
src='https://barcode.tec-it.com/barcode.ashx?data=0101234567890128TEC-IT&code=GS1-128&translate-esc=on'/>
</div>
<div style='padding-top:8px; text-align:center; font-size:15px; font-family: Source Sans Pro, Arial, sans-serif;'>
<!-- back-linking to www.tec-it.com is required -->
<a href='https://www.tec-it.com' title='Barcode Software by TEC-IT' target='_blank'>
TEC-IT Barcode Generator<br/>
<!-- logos are optional -->
<img alt='TEC-IT Barcode Software' border='0'
src='http://www.tec-it.com/pics/banner/web/TEC-IT_Logo_75x75.gif'>
</a>
</div>

Условия Предоставления Услуг:
Это приложение, а также результаты полученные с ее помощью предназначены исключительно для некоммерческого и/или частного использования.
Использование разрешено только для законных целей, в соответствии с национальным или международным законодательством.
Функционирование и/или непрерывная доступность этого бесплатного сервиса не может быть гарантированна.
Коммерческое использование возможно только после письменного согласования с компанией TEC-IT.
Общие условия использования и Политика конфиденциальности.
Версия: 3.7.1.13107

This simple methodology can be employed to reliably generate Code 128 barcodes in Excel.

There are many methodologies published online for generating Code 128 barcodes in Excel. Unfortunately, most of them are complicated or don’t work in the later versions of Excel that most people use today.

A Code 128 barcode has six sections:

  1. Quiet zone
  2. Start character
  3. Encoded data
  4. Check character
  5. Stop character
  6. Quiet zone

The check character is calculated from a weighted sum (modulo 103) of all the characters. Because of this, the generation of Code 128 barcodes is not as simple as typing the number sequence into a programme using a barcode font. Attempting to do this with Code 128 barcodes will fail.

Because I recently had reason to generate Code 128 barcodes, I felt it would be valuable to publish my methodology, which relies on the work of several other people. Follow these steps in order to create your own Code 128 barcode generator in Excel:

Step 1

Download the Code 128 barcode font and install in your fonts folder at c:windowsfonts. (You will need administrator permissions to do this).

Step 2

Ensure that you have the Developer module enabled in Excel. If not, follow these instructions.

Step 3

Create a new Microsoft Excel sheet. Create a table (making sure that you ‘format as table‘) with the following structure and headings:

Barcode Barcode String Barcode Presentation Check
X X X X

Step 4

In Excel, go to the Developer ribbon and choose “Visual Basic”.

Visual-Basic-Developer-Ribbon-Excel

Step 5

Right-click on “Modules” in the tree on the left and select “Insert Module”. Then paste the following code, which was written by Philip Treacy:

Option Explicit
Public Function Code128(SourceString As String)
    'Written by Philip Treacy, Feb 2014
    'http://www.myonlinetraininghub.com/create-barcodes-with-excel-vba
    'This code is not guaranteed to be error free.  No warranty is implied or expressed. Use at your own risk and carry out your own testing
    'This function is governed by the GNU Lesser General Public License (GNU LGPL) Ver 3
    'Input Parameters : A string
    'Return : 1. An encoded string which produces a bar code when dispayed using the CODE128.TTF font
    '         2. An empty string if the input parameter contains invalid characters
    Dim Counter As Integer
    Dim CheckSum As Long
    Dim mini As Integer
    Dim dummy As Integer
    Dim UseTableB As Boolean
    Dim Code128_Barcode As String
    If Len(SourceString) > 0 Then
        'Check for valid characters
        For Counter = 1 To Len(SourceString)
            Select Case Asc(Mid(SourceString, Counter, 1))
                Case 32 To 126, 203
                Case Else
                    MsgBox "Invalid character in barcode string." & vbCrLf & vbCrLf & "Please only use standard ASCII characters", vbCritical
                    Code128 = ""
                    Exit Function
            End Select
        Next
        Code128_Barcode = ""
        UseTableB = True
        Counter = 1
        Do While Counter <= Len(SourceString)
            If UseTableB Then
                'Check if we can switch to Table C
                mini = IIf(Counter = 1 Or Counter + 3 = Len(SourceString), 4, 6)
                GoSub testnum
                If mini% < 0 Then 'Use Table C
                    If Counter = 1 Then
                        Code128_Barcode = Chr(205)
                    Else 'Switch to table C
                        Code128_Barcode = Code128_Barcode & Chr(199)
                    End If
                    UseTableB = False
                Else
                    If Counter = 1 Then Code128_Barcode = Chr(204) 'Starting with table B
                End If
            End If
            If Not UseTableB Then
                'We are using Table C, try to process 2 digits
                mini% = 2
                GoSub testnum
                If mini% < 0 Then 'OK for 2 digits, process it
                    dummy% = Val(Mid(SourceString, Counter, 2))
                    dummy% = IIf(dummy% < 95, dummy% + 32, dummy% + 100)
                    Code128_Barcode = Code128_Barcode & Chr(dummy%)
                    Counter = Counter + 2
                Else 'We haven't got 2 digits, switch to Table B
                    Code128_Barcode = Code128_Barcode & Chr(200)
                    UseTableB = True
                End If
            End If
            If UseTableB Then
                'Process 1 digit with table B
                Code128_Barcode = Code128_Barcode & Mid(SourceString, Counter, 1)
                Counter = Counter + 1
            End If
        Loop
        'Calculation of the checksum
        For Counter = 1 To Len(Code128_Barcode)
            dummy% = Asc(Mid(Code128_Barcode, Counter, 1))
            dummy% = IIf(dummy% < 127, dummy% - 32, dummy% - 100)
            If Counter = 1 Then CheckSum& = dummy%
            CheckSum& = (CheckSum& + (Counter - 1) * dummy%) Mod 103
        Next
        'Calculation of the checksum ASCII code
        CheckSum& = IIf(CheckSum& < 95, CheckSum& + 32, CheckSum& + 100)
        'Add the checksum and the STOP
        Code128_Barcode = Code128_Barcode & Chr(CheckSum&) & Chr$(206)
    End If
    Code128 = Code128_Barcode
    Exit Function
testnum:
        'if the mini% characters from Counter are numeric, then mini%=0
        mini% = mini% - 1
        If Counter + mini% <= Len(SourceString) Then
            Do While mini% >= 0
                If Asc(Mid(SourceString, Counter + mini%, 1)) < 48 Or Asc(Mid(SourceString, Counter + mini%, 1)) > 57 Then Exit Do
                mini% = mini% - 1
            Loop
        End If
        Return
End Function

Step 6

Go back to your Excel sheet and insert the following formulae:

  • In cell B2 (“Barcode String”), insert =Code128([@Barcode])
  • In cell C2 (“Barcode Presentation”), insert =[@[Barcode String]]
  • In cell D2 (“Check”), insert: =IF(ISNUMBER(SEARCH("Â",[@[Barcode Presentation]],1)),"Error!","")

The formulae should copy down the entire columns. Save your sheet.

Step 7

Highlight Column C and change the font to “Code 128”. Now when you enter data into cell A2, a barcode should be displayed in cell C2 and so-on down the entire sheet.

If this doesn’t work, you may need to close and re-open Excel at this stage.

Some notes about usage

Unfortunately this script is not perfect and sometimes an a-circumflex (Â) character will be displayed in the middle of the barcode, particularly if copying numbers from other sources.

The formula in Column D is designed to display “Error” if this occurs so as to alert the operator. I added conditional formatting via the following rule: =$D:$D<>"" so that errors will be displayed:

Barcode-Cells-Excel

Often the number can simply be copied and pasted back into the same cell, or re-typed. This doesn’t happen often.

A practical application

Whilst it’s nice to be able to generate Code 128 barcodes in Excel, this isn’t entirely useful on a practical level.

After generating the barcode strings (for example “ÍKLÈ3.323LΔ), these sequences can be copied and pasted into Word and the Code 128 font applied to them in order to generate a barcode. Unfortunately people need a human-readable number string beside a barcode, which means copying both the barcode string and the number sequence used to generate it. This is laborious and prone to error.

To get around this problem, I use a mail merge in Microsoft Word, combined with a sticker template to generate labels that contain both the barcode string (which is displayed in the Code 128 font) and the original number (which can be displayed in Arial, Times New Roman etc).

Mail merge can be tricky (a good subject for another post), but once mastered can make barcode generation very easy indeed. The other advantage with mail merge is that the barcode can be combined with other useful information on the label stickers in a manner which is efficient and unlikely to generate error.

Once the barcodes are generated in Word, they can easily be printed and affixed to whatever they’re designed to label.

 
 

Have Your Say

Скачать (103.93KB)

Code-128 Native Excel Barcode Generator О

Code-128 Native Excel Barcode Generator Технические характеристики
Версия:
17.07
Размер файла:
103.93KB
Добавлен:
2 августа 2017 г.
Дата выпуска:
18 июля 2017 г.
Цена:
Free to try
Операционная система:

Windows 2003/Vista/Server 2008/7/8/10,

Загрузки на прошлой неделе:
203
Дополнительные требования

Требуется Microsoft Excel

Добавьте возможности штрих-кодирования Code-128 и GS1-128 в электронные таблицы Microsoft Excel .

Code-128 Native Excel Barcode Generator Рейтинг редакции

FromIDAutomation: собственный код 128 и GS1-128 Barcode Generator для Microsoft Excel обеспечивает возможность штрихкодирования для таблиц Microsoft Excel со встроенным макросом VBA, что упрощает совместное использование листов без необходимости распространять дополнительные шрифты или другие компоненты. Этот генератор штрих-кода для версии Excel поддерживает автоматический режим кода-128 с наборами A, B и C, все идентификаторы приложений GS1-128, ISBT-128, SSCC-18, SISAC, SICI и ICCBBA. Родительский код 128 и GS1-128 Barcode Excel Generator совместим как для Microsoft Windows, так и для Mac OS X, 32-разрядных и 64-разрядных систем для Microsoft Excel 2003 и выше в Windows и Excel 2011 и выше на Mac с поддержкой VBA. Дополнительные генераторы собственных штрих-кодов включают поддержку следующих символов: код 3 из 9, код 93, MSI, UCC / EAN-128, чередование 2 из 5, PostNet, интеллектуальная почта IMb, матрица данных, QR-код и PDF417 .
Скачать (103.93KB)

Similar Suggested Software

Лучшие загрузки
Библиотеки компонентов и

Надстройка Labels позволяет вставлять штрихкоды формата Code 128 в создаваемые этикетки.

В каждой этикетке может присутствовать один или несколько таких штрихкодов.
 

Для формирования штрихкодов Code 128, в шаблоне этикетки необходимо:

  1. Вставить в ячейку шаблона подстановочный код вида {5(code128)}, где 5 — это номер столбца, в котором находятся коды для отображения в штрихкоде.
    Эта запись подразумевает, что программа возьмёт исходные данные из столбца 5, и модифицирует (перекодирует) значение для корректного отображения штрихкода с использованием шрифта code128.ttf
     
  2. Установить в системе шрифт code128.ttf
    Для этого скачиваем файл шрифта code128.ttf, и копируем его в системную папку Fonts

    В настройках программы на вкладке «Дополнительно» присутствует ссылка, при щелке по которой откроется 2 папки: одна со скачанным файлом шрифта, а вторая — системная папка Fonts.

    Вам останется только скопировать файл из одной папку в другую, и шрифт будет установлен в системе.

  3. Назначить ячейке установленный шрифт.
    В данном случае, это шрифт с названием Code 128.
    Чтобы вновь установленный шрифт появился в Excel в списке доступных шрифтов, потребуется перезапустить Excel (закрыть и открыть Excel заново)
     
  4. Задать подходящий размер шрифта

Понравилась статья? Поделить с друзьями:
  • Генеральная доверенность образец в word
  • Генеральная доверенность бланк скачать word
  • Генеологичне дерево шаблон word
  • Генеалогическое древо шаблоны word для заполнения
  • Генеалогическое древо шаблон для excel