Code for Control + Shift + "

Boost

Board Regular
Joined
Jan 10, 2013
Messages
84
Hi Everyone,

Anyone have any idea how to code a shortcut:
Control Shift Apostrophe (Control+Shift+")?
I am trying to copy the last cell in a column to the cell below it at the end of a long macro. It is working and making all the sheets, but I need to add one line using the contents of the final line cells above when the totals are printed. The number of rows will vary every month so it needs to deal with the last line. The keyboard shortcut works great so it would be helpful to know how to code it.

Thanks
 
Last edited:

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Glad to see you have things working. Any time you have questions about a script you would get quicker help by showing us your script. Glad we were able to help you. Come back here to Mr. Excel next time you need additional assistance.
Thanks, Rick. That works perfectly!
 
Upvote 0
Thank you both. That worked out much better. I will make sure to add the code next time.
 
Upvote 0

Forum statistics

Threads
1,215,819
Messages
6,127,045
Members
449,356
Latest member
tstapleton67

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