VBA help to create button that moves to next row after taking screenshot

Ducklings23

New Member
Joined
Mar 11, 2020
Messages
20
Office Version
  1. 2016
Platform
  1. Windows
Hi all. I've got some code but it's not working exactly as I intended. I'm trying to create a button within a cell in my "Change Log" worksheet that when clicked takes a screenshot of specific cells in the "Summaries" worksheet, storing the screenshot in a third sheet "SummaryScreenshots". I then want to button to move down into the next row in "Change Log", and for the whole process to be repeatable, with all the screenshots saved in "SummaryScreenshots".

If possible, I'd also like each screenshot to generate a date/time stamp, so that they are unique and that they get stored in "SummaryScreenshots" one after the other. These last two requirements aren't within my current code yet, so any help with that additional functionality would be appreciated. Currently the code creates a button in the right sheet and takes the correct screenshot, storing it in the right place. But the button doesn't move afterwards as intended.

1711025846142.png
 

Attachments

  • 1711025710101.png
    1711025710101.png
    55.9 KB · Views: 20

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top