Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1110445
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T02:23:50+00:00 2026-05-17T02:23:50+00:00

I have a powerpoint pres that grabs some data from an excel sheet when

  • 0

I have a powerpoint pres that grabs some data from an excel sheet when a button is pressed.

Set EXL = New Excel.Application
EXL.Visible = False

Dim XLApp As Excel.Application

Set XLApp = GetObject(, "Excel.Application")

This is how I set the new excel application.

What I’m wondering is how I can send over a variable from my powerpoint slide into the excel workbook? I have textfield in my powerpoint slide that I want the text to be used in a variable inside excel. Is this possible? If so, how?

And how do I, from a powerpoint module, call a Sub within the excel workbook to run?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T02:23:51+00:00Added an answer on May 17, 2026 at 2:23 am

    (This is some simplified production code from an Access db, powerpoint might have a few minor differences)

    What I'm wondering is how I can send over a variable from my powerpoint slide into the excel workbook?

    Sub SetXLCellValue( _
        FileStr As String, _
        TabStr As String, _
        Cell As String)
    
        Dim XLApp As New Excel.Application
        Dim ObjXL As Excel.Workbook
        Set ObjXL = XLApp.Workbooks.Open(FileStr)
    
        ObjXL.Worksheets(TabStr).Range(Cell).value = value
        ObjXL.Save
        ObjXL.Close True
    End Sub
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have made some code that makes powerpoint and excel work together. And I
I have a script that opens Powerpoint from my application and exports all slides.
I am using Powerpoint 2007 and I have set up hyperlink from slide A
i have some VB that uses DAO to grab some data, one field being
i have a single powerpoint slide that we use for reporting. This slidehas some
I have some VB that copies OLE objects into PowerPoint automatically for me. The
I have many PowerPoint presentations that I need to be able to add to
I have a PowerPoint template that contains one slide and on that slide is
i have an excel spreadsheet that is about 300,000 rows and about 100 columns
I have a application that allows a user to choose some parameters for a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.