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

  • SEARCH
  • Home
  • 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 292401
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T06:10:37+00:00 2026-05-12T06:10:37+00:00

Not sure if this question is going to make sense or not be here

  • 0

Not sure if this question is going to make sense or not be here goes:

So I have a some VB that outputs data from some queries. It simply export that resulting dataset from the query out as excel into an excel file, and there are several that do this.
These all trip automatically (open and close events on forms) as a part of a little automation trick that I use to create a powerpoint presentation with (or eventually let the users do it) that run a bunch of queries of top Nth, and then create that charts, and then creates the ppt with the charts and data.

blah blah, so what I am wondering is, is there a way in access I can empty that specific folder (delete all those output excel files) at the end of the process. because they continually have to be removed, or the next time its run, you end up with 25 “would you like to replace this file?” messages, and that is just annoying. i am pretty sure there is a macro method of doing this….but i really do not know???

the reason i export them like this is i need the data to match to the chart in the presentation, and the best way (relative) that I can muster, is copying and pasting from excel into the notes section of the ppt. i don’t know how to vb it from access into the notes section, i don’t know how to vb it from excel into the notes section so this will have to do i suppose.

thanks guys!

  • 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-12T06:10:37+00:00Added an answer on May 12, 2026 at 6:10 am

    You can use

    Kill (strPath)
    

    to delete a file from disk, where strPath is the path to the file. Repeat as necessary.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am not sure if this question is already answered. But here it goes:
I'm not sure whether this question belongs on StackOverflow or SuperUser, but here goes
Not sure if this is really a programming question, but here goes :-) I'm
My question..not even sure if this is possible but curious from others... I have
I'm not sure this question is appropriate here but I hope I could get
I'm not sure if this is the right place for this question, but here
I'm not sure if this is an appropriate question for StackOverflow. I have a
this question might sound silly to some but i just had to make sure.
Not sure if this is the right forum for me to ask this question.
I'm not sure if this question fits properly, but I'm wondering in tile-based games,

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.