VBAで、古いシステムに連携するためのデータファイルを作成する際、「社員IDは、必ず4文字」「氏名は、必ず10文字」といったように、各項目の文字数が厳密に決まっているフォーマットを扱うことはありませんか? VBAで、宣言した時点で、文字数が完全に ...
VBAを使っていると、「あのコード、また書くのか…」という場面はよくあります。 本記事では、私が実務や趣味で繰り返し使っている便利コードを、備忘録+コピペ用としてまとめました。 使用頻度の高いものは★5、ほとんど使わないけど覚えておくと ...
CodeZine編集部では、現場で活躍するデベロッパーをスターにするためのカンファレンス「Developers Summit」や、エンジニアの生きざまをブーストするためのイベント「Developers Boost」など、さまざまなカンファレンスを企画・運営しています。 講演資料・動画 ...
Don't struggle to pass strings. Instead, apply these five simple rules when working with embedded strings in VBA. If you want to work with VBA, eventually, you’ll struggle with embedded strings. It ...
今回は、VBAだけでは不可能だった機能を実現可能にするJScriptについて、その使い方を解説します。動作確認は、Windows 7、Excel 2010、VBA 7.0およびWindows XP、Excel 2007、VBA 6.5で行っています。 Excel VBAでWebサービス - Excelでヤフオクの商品情報を検索しよう Excel VBAで ...
When a VBA user-defined function is declared as taking a String argument, Excel converts the supplied string to a byte-string in a locale-specific way. If you want your function to be passed a Unicode ...
This is a simple script that converts a string to unicode code for using in VBA. I created this because VBA doesn't support Khmer language, so I had to convert the string to unicode code.
Will Kenton is an expert on the economy and investing laws and regulations. He previously held senior editorial roles at Investopedia and Kapitall Wire and holds a MA in Economics from The New School ...