![]() |
scanner twain
Hi all,
my problem is acquire an image from a twain device when the user click on a button located on a sheet. Is there a way to do it, possibly without installing activex ? Thank you. Bye Theta |
scanner twain
You have to add a form to your worksheet and the write a macro that does the
function I would start by going to fromat menu and selecting learn macro. then manually get the data from the twain device. Then stop record the macro. then test the macro and see if it works. the next step is to add a button that automatically calls the macro. 1) go to view window - toolbars and select form Menu. 2) Select the control button and add it to your worksheet 3) right click the conjtrol button and select the macro you want to run 4) right click on the button and select edit text to change the text on the button. "Theta" wrote: Hi all, my problem is acquire an image from a twain device when the user click on a button located on a sheet. Is there a way to do it, possibly without installing activex ? Thank you. Bye Theta |
scanner twain
This brings up the dialog for the user to select from.
Const FromScannerorCamera As Long = 1764 Application.CommandBars.FindControl(, FromScannerorCamera).Execute Not sure what you mean by "without installing activex", but if the button is from the Controls Toolbox, make sure you set its .TakeFocusOnClick property to False. NickHK "Theta" wrote in message . .. Hi all, my problem is acquire an image from a twain device when the user click on a button located on a sheet. Is there a way to do it, possibly without installing activex ? Thank you. Bye Theta |
All times are GMT +1. The time now is 12:37 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com