GCMS
More information
WebinarsAbout usContact usTerms of use
LabRulez s.r.o. All rights reserved. Content available under a CC BY-SA 4.0 Attribution-ShareAlike

Clarity solution – MS Excel macro for Result Table check

Manuals | 2024 | DataApexInstrumentation
Software
Industries
Other
Manufacturer
DataApex

Summary

Importance of the Topic


Automating the transfer and evaluation of chromatographic result tables enhances data integrity and efficiency in routine and regulated laboratories. The ability to directly import analysis results into Excel, apply calculations, and compare against predefined limits reduces manual errors and accelerates decision-making in quality control and research environments.

Objectives and Study Overview


This application note presents an Excel macro solution designed to streamline the processing of chromatogram result tables exported from Clarity chromatography software. The main goals include:
  • Automate loading of exported chromatogram data into Excel
  • Format result tables and insert custom calculations (e.g., percentage of amount, averages)
  • Compare results against user-defined limits and flag pass/fail status

Methodology and Used Instrumentation


The workflow consists of several steps integrating Clarity software, batch scripts, VBScript, and MS Excel macros:
  1. Enable Excel macros by adjusting the security settings to allow macro execution.
  2. Unzip the provided archive to a local folder (e.g., C:\xls-export) containing the Excel macro and related scripts.
  3. Configure Clarity’s Export Data settings to generate a tab-delimited text file and call a batch script post-analysis.
  4. Use the OpenChromInExcel.bat batch file and OpenChrom.vbs VBScript to launch MS Excel and pass the exported file name to the macros.
  5. Execute two VBA macros: one to import and format the chromatogram data, and another to insert limit checks based on a "Limits" worksheet.

Used Instrumentation


  • Clarity Chromatography Software (version 8.1.0.77)
  • Microsoft Excel (tested on 2013)
  • VBScript and Windows batch scripting for automation

Main Results and Discussion


The implemented macro successfully imports single-signal chromatogram data into Excel, applies custom calculations such as percentage content and statistical averages, and compares each analyte against preset acceptance criteria. The process highlights passed and failed compounds directly within the result table. Limitations observed include:
  • Compatibility only with single-signal chromatograms; multi-signal data may yield inaccurate average calculations.
  • Manual saving required to preserve each processed Excel file under a unique name in automated sequences.

Benefits and Practical Applications


  • Reduces manual data handling and transcription errors in chromatography workflows.
  • Enhances compliance by providing built-in limit checks and clear pass/fail indicators.
  • Customizable functions allow laboratories to adapt the macro to specific analytical methods and reporting requirements.

Future Trends and Potential Applications


Future development could focus on:
  • Extending macro support to multi-signal and photodiode array chromatograms.
  • Implementing automatic file naming and saving to fully integrate into batch sequences.
  • Linking with laboratory information management systems (LIMS) or cloud platforms for centralized data tracking.
  • Incorporating advanced data analytics and visualization directly within Excel.

Conclusion


The Excel macro solution provides a practical example of automating data exchange between Clarity and MS Excel, significantly streamlining result table formatting and limit checks. While currently limited to single-signal analyses, the framework can be expanded and customized to support more complex chromatographic data and fully automated laboratory workflows.

Content was automatically generated from an orignal PDF document using AI and may contain inaccuracies.

Downloadable PDF for viewing
 

Similar PDF

Toggle
Using SIMDIS Expert® 9 (Separation Systems) with Clarity
Using SIMDIS Expert® 9 (Separation Systems) with Clarity The SIMDIS Expert® 9 may be used with Clarity or Clarity Lite software to process the acquired chromatograms according to Simulated Distillation. The acquired chromatograms are exported as AIA (*.cdf) files and…
Key words
program, programexport, exportrun, runtroubles, troublesaia, aiacdf, cdfbatch, batchdefined, definedsettings, settingssimdis, simdiswise, wiseactivate, activateexported, exporteddialog, dialogclarity
Clarity (Lite) 2.4 vs 2.3
Clarity (Lite) 2.4 vs 2.3
2007|DataApex|Manuals
Clarity (Lite) Clarity 2.4(Lite) vs 2.3 2.4 vs 2.3 ENG Code/Rev.: M047/24F – 02 January 2006 Phone: +420 - 251 013 400 Fax: +420 - 251 013 401 [email protected] www.dataapex.com © DataApex Ltd. 2007 Podohradská 1 155 00 Prague 5…
Key words
clarity, claritychromatogram, chromatogramcommand, commandthreshold, thresholdfile, fileopen, opendialog, dialoginstrument, instrumentset, setfft, fftsend, sendinterval, intervalwindow, windowpdf, pdfgpc
Clarity Software - COOPERATION WITH LIMS SYSTEMS
COOPERATION WITH LIMS SYSTEMS Clarity Software ENG Code/Rev.: M140/90B Date: 2024-02-14 DataApex Ltd. Phone: +420 251 013 400 Petrzilkova 2583/13 [email protected] 158 00 Prague 5 www.dataapex.com Czech Republic ® are trademarks of DataApex Ltd. Microsoft® and WindowsTM are Clarity®, DataApex®…
Key words
lims, limscooperation, cooperationsystems, systemsclarity, claritydirectories, directoriessequence, sequenceexport, exportexported, exportedimport, importdirectory, directorymeant, meantaccounts, accountsinfo, infocontents, contentsoptions
Clarity Demo Software
Clarity Demo Software
2021|DataApex|Manuals
CLARITY DEMO Clarity Demo Software ENG Code/Rev.: M003/80G Date: 2/10/2021 Phone: +420 251 013 400 Fax: +420 251 013 401 [email protected] www.dataapex.com DataApex Ltd. Petrzilkova 2583/13 158 00 Prague 5 The Czech Republic ® are trademarks of DataApex Ltd. Microsoft…
Key words
clarity, claritydemo, demowindow, windowchromatogram, chromatogramicon, iconmodule, moduleopen, openstation, stationyou, youintegrated, integratedcan, canname, nameevaluating, evaluatingsequence, sequenceclicking
Other projects
LCMS
ICPMS
Follow us
FacebookX (Twitter)LinkedInYouTube
More information
WebinarsAbout usContact usTerms of use
LabRulez s.r.o. All rights reserved. Content available under a CC BY-SA 4.0 Attribution-ShareAlike