Quantcast
Channel: NodeXL: Network Overview, Discovery and Exploration for Excel
Viewing all articles
Browse latest Browse all 4386

New Post: Can NodeXL routines be accessed from VBA?

$
0
0
I spent a while looking for solutions to this problem
You can use the Application Send keys commands to get to the ribbon button. See the following to get there:

Sub RefreshGraph()
'Forces ribbon to home to ensure common reference
Application.SendKeys ("%H%")

'Naviagate to Nodexl ribbon
Application.SendKeys ("%Y")

'Select the Refresh graph button
Application.SendKeys ("Y5%")

End Sub

I hope that helps!

Regards,

Jamie

Viewing all articles
Browse latest Browse all 4386


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>