Action Buttons on Excel

lbouwer

New Member
Joined
Jan 4, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi All.

I am struggling to put together macros (i have never used VBU and cannot get my head around the syntax.

I need a code that is going to unhide the request quotation button on this sheet unless F2:F7 are Not Null, if any of these fields are blank this will need to be hidden.

Assuming the fields in F2:F7 are infact complete then need this to generate an email to a specific email address, with the document attached, the subject of the Email would be F3 - F2 with the body of the email pre populated with something along the lines of the below

"Good day.

Please can the attached document be issued in line with a formal quotation.

Kind Regards
F4

I am working to a really tight deadline here and would normally spend hours trying to figure this out myself but I am struggling here.

The next step would be the Print button - that would need to print to a PDF with all columns fitting on an A4 page. I havent even managed to look at that yet.

I am desperate here and would appreciate any help/support you are able to offer.
 

Attachments

  • Capture.PNG
    Capture.PNG
    36.3 KB · Views: 10

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
hi

i dont even know if the above is possible. i have tried recording this as a macro but failed miserably.

Desperate to get this sorted. Any help would be appreciated.
 
Upvote 0

Forum statistics

Threads
1,215,256
Messages
6,123,903
Members
449,132
Latest member
Rosie14

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