MassifApp.Xlsb
1.0.0
dotnet add package MassifApp.Xlsb --version 1.0.0
NuGet\Install-Package MassifApp.Xlsb -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MassifApp.Xlsb" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MassifApp.Xlsb --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MassifApp.Xlsb, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MassifApp.Xlsb as a Cake Addin #addin nuget:?package=MassifApp.Xlsb&version=1.0.0 // Install MassifApp.Xlsb as a Cake Tool #tool nuget:?package=MassifApp.Xlsb&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MassifApp.Xlsb
概要
Microsoft Excelのバイナリブック形式を読み取るためのコンソールアプリケーション向けユーティリティです。
拡張子が.xlsb
のファイルが対象です。
書込みや修正といった編集することはできず、読取りのみとなります。
注意点
すべてのバイナリブック形式ファイルを扱えることを保証していません。
また、ファイル内のすべてのデータを扱うこともできません。
対応しているデータは文字列、数値のみとなります。
バイナリブック形式については下記リンクを参照してください。
Microsoft [MS-XLSB] Excel: Binary File Format
例
ファイル内容をダンプする:
XLSBFile xlsb = new("foo.xlsb");
xlsb.DumpFile(); // コンソールに出力
CSV形式に変換する:
XLSBFile xlsb = new("foo.xlsb");
xlsb.WorksheetToCsv("bar.csv");
セルの内容を一つずつ抽出する:
XLSBFile xlsb = new("foo.xlsb");
XLSBWorksheet ws = xlsb.LoadWorksheet();
foreach(var row in ws.Rows)
{
foreach(var cell in row.Columns)
{
switch(cell.Type)
{
//
// データ別の処理
//
}
}
}
問合せ先
使用方法や実装手順等、あるいは開発案件についてもご相談を承っていますので、お気軽にお問い合わせください。
マシフデジタルソリューション合同会社 https://www.massif.jp
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 216 | 9/3/2022 |