ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel Macro Q: Insert-Picture-Scanner....how to? (https://www.excelbanter.com/excel-programming/382227-excel-macro-q-insert-picture-scanner-how.html)

Maximus

Excel Macro Q: Insert-Picture-Scanner....how to?
 
Can't make this work using the Macro Record auto process. I am trying to
automate scanning a picture (dvrs licence) into an area in an Excel sheet. It
works when I go through the steps manually but when I record a macro it does
not add the selecting of the Insert-Picture-Scanner-Scan.
I am a rookie so be gentle. Thks

NickHK

Excel Macro Q: Insert-Picture-Scanner....how to?
 
This brings up the dialog for the user to select from.

Const FromScannerorCamera As Long = 1764
Application.CommandBars.FindControl(, FromScannerorCamera).Execute

NickHK

"Maximus" wrote in message
...
Can't make this work using the Macro Record auto process. I am trying to
automate scanning a picture (dvrs licence) into an area in an Excel sheet.

It
works when I go through the steps manually but when I record a macro it

does
not add the selecting of the Insert-Picture-Scanner-Scan.
I am a rookie so be gentle. Thks




Maximus

Excel Macro Q: Insert-Picture-Scanner....how to?
 
Thanks. It worked perfect the first time. I really appreciate it.

"NickHK" wrote:

This brings up the dialog for the user to select from.

Const FromScannerorCamera As Long = 1764
Application.CommandBars.FindControl(, FromScannerorCamera).Execute

NickHK

"Maximus" wrote in message
...
Can't make this work using the Macro Record auto process. I am trying to
automate scanning a picture (dvrs licence) into an area in an Excel sheet.

It
works when I go through the steps manually but when I record a macro it

does
not add the selecting of the Insert-Picture-Scanner-Scan.
I am a rookie so be gentle. Thks






All times are GMT +1. The time now is 12:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com