Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
InvokeVBAを使おう!
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
UiPath Friends
March 05, 2020
Technology
790
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
InvokeVBAを使おう!
UiPath Friends
March 05, 2020
More Decks by UiPath Friends
See All by UiPath Friends
Orchestrator Manager使ってみた
uipathfriends
0
640
市民開発&社内コミュニティ推進トーク
uipathfriends
0
300
グローバルハッカソン体験談
uipathfriends
0
140
UiPathの副業市場
uipathfriends
0
160
UiPathは世界を笑顔にする
uipathfriends
0
130
Autopilotやってみた
uipathfriends
0
950
AI at Workが切り拓くオートメーションの未来とカスタマーストーリー
uipathfriends
0
170
UiPathの教育的効果の再考_がっきー
uipathfriends
0
100
IT未経験からITエンジニアへ_田口凌雅
uipathfriends
0
200
Other Decks in Technology
See All in Technology
TinyGo 開発サイクルを高速化する:Go で作るエミュレータ入門
zozotech
PRO
1
680
2026/09/10 Spring Bootから Jakarta EE/MicroProfileへの移行
megascus
0
350
GoCon2026 - Open Source, Open World
sanposhiho
4
3.5k
消えない 動かない 効かない
yama3133
1
120
「図書館」という名前のままでいいのか -Code4Lib JAPANカンファレンス2026 アンカンファレンス報告- / Code4Lib JAPAN Conference 2026: Unconference Report
ykiyota
0
170
Deployment の 先にある AI Agent 基盤 - kagent vNext、Agent Substrate、Hermes から読み解く Agent Runtime の現在地 / k8s-matsuri-2-ai-agent-platform-amsy810
masayaaoyama
3
340
10Xに技術的負債をもたらした「2つの境界の歪み」その構造と解消への営み
10xinc
0
710
Minecraft JavaのMODをSwiftで作る
1mash0
0
140
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
3
480
Claude Code本って、 読む必要あるの?
oikon48
2
440
深夜のクラウド懺悔室 1:29:300 or 1:0:0
kazzpapa3
1
240
Omarchy Quattro の日本語設定周り
simosako
2
170
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
234
19k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
320
SEO for Brand Visibility & Recognition
aleyda
0
4.7k
Building Adaptive Systems
keathley
44
3.2k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
The Limits of Empathy - UXLibs8
cassininazir
1
660
How GitHub (no longer) Works
holman
316
150k
Making Projects Easy
brettharned
120
6.7k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.3k
Making the Leap to Tech Lead
cromwellryan
135
10k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
Transcript
InvokeVBAを使おう! @きのっぴ
アジェンダ ✓ 自己紹介 ✓ InvokeVBAについて ✓ 使い方 ✓ 引数を渡す場合 ✓
戻り値を受け取る場合
自己紹介 RPAエンジニア 職業 きのっぴ 情シス → 事務員 → RPA キャリア
UiPath WinActor BizRobo! ツール きのっぴ(ロボ猫) Kinoppi_RoboNeko
InvokeVBAについて 拡張子が.xlsxでもマクロ処理を 可能にするアクティビティ! ※日本語名「VBAの呼び出し」
InvokeVBAについて ここが素敵! ・自動化の案件の大部分がExcelがらみ ・ユーザーが現在運用中のエクセルをマクロに置き換える のはハードルが高い ⇒RPA側では使えないExcel各機能も InvokeVBAならゴニョゴニョできちゃう!
InvokeVBAについて ! Execute Macro (マクロを実行) ロボット マクロブック Invoke VBA (VBAの呼び出し)
(拡張子が.xlsm .xls) エクセルブック (拡張子が.xlsx .xls) メモ帳 (コードが書かれてる) ロボット ①マクロ実行せよ! ①マクロ実行せよ! ②コード教えて! ②おりゃー! ③おりゃー!
1.セキュリティ設定(最初だけ) ロボットを動かすPCのExcelのセキュリティ設定をマクロOK状態にする これやらないとロボが止まるかも 使い方
2.Excel アプリケーションスコープ内に設置 使い方
3.VBAコードはメモ帳に記入 VBEditorで動いたものをコピペ 使い方
4.必要なところを設定 エクセル メモ帳 マクロ名 使い方
5.ロボ実行! 使い方
1.配列っぽく渡します{”引数”, “引数”, …} ※配列とは少し違うみたいだけど、まあいいじゃん 引数を渡す場合
2. VBAコードはこんなかんじ 引数を渡す場合
3.ロボ実行! 引数を渡す場合
1.数字を2つVBAに渡して、戻り値を受け取る 出力値に設定したObject変数にVBAの戻り値が格納されます 戻り値を受け取る場合
2.戻り値をメッセージボックスで表示 ★ポイント1 戻り値はObject型なので、CTypeとかで 変数型をゴニョゴニョして取り出します 戻り値を受け取る場合
3.VBAコードはこんなかんじ ★ポイント2 戻り値を受け取る場合は Function を使います 戻り値を受け取る場合
4.ロボ実行! 戻り値を受け取る場合
おしまい ニャーン