[a105] for loop _newEnum problem in office

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
Cicin
Posts: 10
Joined: 06 Oct 2019, 23:08

[a105] for loop _newEnum problem in office

06 Oct 2019, 23:44

Code: Select all

		
test()
{
	app := ComObjActive("word.Application")
	appshapes := app.selection.range.InlineShapes
	For shp in app.selection.range.InlineShapes
	{
		msgbox(1)
	}
	
	Return
}
problem description: tips _newenum is not a method
version: ahk2 a105
for loop problem.png
for loop problem.png (6.46 KiB) Viewed 1567 times

Return to “Ask for Help (v2)”

Who is online

Users browsing this forum: mikeyww and 42 guests