Working with spreadsheet while form is still active

Posted on 2005-03-24
Medium Priority
Last Modified: 2010-05-02
A button on my userform opens an excel file. I want to edit this file while the form is still loaded. Is there a way to do this.

Thank you.
Question by:Aiysha
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 53

Expert Comment

ID: 13621413
Can you post your code how you open excel ?
Normally if you open an external program, the current program is still running in background.
LVL 50

Accepted Solution

Dave Brett earned 2000 total points
ID: 13621610
HI AIysha,

If its an Excel userfom you are talking about, then if you display the form modelessly you can interact with the file with the form still open.

UserForm1.Show vbModeless



Author Comment

ID: 13623899
Thank you.
LVL 50

Expert Comment

by:Dave Brett
ID: 13626625
Thanks for the grade

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month10 days, 23 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question