Results 1 to 2 of 2

Thread: excel button

  1. #1

    Thread Starter
    Addicted Member _ivo_'s Avatar
    Join Date
    Sep 2009
    Location
    Zagreb
    Posts
    140

    Question excel button

    Hello, please tell me how difficult is this I want to make
    I have excel document for inserting some data, doesn't matter.
    This is made in Excel 2010 Doesn't matter, it can be saved as older excel

    I would need only one Button in my excel

    But this button needs to do this :
    1. Save this excel to defined folder with defined name (folder is defined in this button (e.g. ~MyDocuments\Reports) event and excel name is taken from two fields in excel)

    2. Send this saved document to predefined email address (e.g. opens Outlook or outlook express with this attachment, email address and some subject - user only sends)

    3. Close everything

    Hm... How difficult can this be?

    Regards,
    Ivo

  2. #2
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: excel button

    Hello IVO

    Yes, it can be done.

    1. Save this excel to defined folder with defined name (folder is defined in this button (e.g. ~MyDocuments\Reports) event and excel name is taken from two fields in excel)
    Readup on Activeworkbook.Saveas

    2. Send this saved document to predefined email address (e.g. opens Outlook or outlook express with this attachment, email address and some subject - user only sends)
    Search VBF on how to interact with Outlook from Excel. There are plenty of examples.

    Hm... How difficult can this be?
    Depends on how well versed are you with Excel/Outlook VBA... but if you know your stuff then it is very easy...
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width