#1   Report Post  
Posted to microsoft.public.excel.misc
tg tg is offline
external usenet poster
 
Posts: 58
Default Excel Question

Is it possible to run a excel program as excel opens but run it in the
background so you can't see it?

I am trying to use the lookup command using another work book and also using
a dropdown menu in the cell.

Thanks-Tom
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Excel Question

Via a macro???

You can turn application.screenupdating to false, but if you can't see the
screen, how would you use a dropdown.

I guess I don't understand the question...

TG wrote:

Is it possible to run a excel program as excel opens but run it in the
background so you can't see it?

I am trying to use the lookup command using another work book and also using
a dropdown menu in the cell.

Thanks-Tom


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
tg tg is offline
external usenet poster
 
Posts: 58
Default Excel Question-Macros?

I want to have a file running in the background for "Materials". In the
materials.xls file it would have the specific gravity for example.

Then in a new file called "quoting template", I could drop down a menu using
validation list or the lookup fuction t select the material.

When I use a macro, I close the file and open it, (security settings on
medium), it asks to enable macros. I hit yes. However in my quoting template
the drop down menu doesn't work until I actually run the macro for materials
list.

So if I had it running when I started Excel, I wouldn't have to use a macro
then?

I hope this helps explain what I am trying to do.

Thanks,
Tom

"Dave Peterson" wrote:

Via a macro???

You can turn application.screenupdating to false, but if you can't see the
screen, how would you use a dropdown.

I guess I don't understand the question...

TG wrote:

Is it possible to run a excel program as excel opens but run it in the
background so you can't see it?

I am trying to use the lookup command using another work book and also using
a dropdown menu in the cell.

Thanks-Tom


--

Dave Peterson
.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Excel Question-Macros?

You can hide the windows that allow you to see the workbook in excel.

Open excel
Open the file
window|hide window (in xl2003 menus)
close excel
Answer yes to the "do you want to save your changes" prompt

Next time you open that file, you won't see it. To make changes, you'll have to
show the window, make the changes, hide the window, and save that workbook.

======
I'm not sure what you're doing, but you could have a macro in the quoting
template that opens the Materials workbook, runs the macro you want, and closes
the materials workbook.

This goes in the ThisWorkbook module of the quoting workbook:

Option Explicit
Private Sub Workbook_Open()

Dim myFileName As String
Dim MacName As String
Dim wkbk As Workbook

myFileName = "C:\my documents\excel\materials.xls"

MacName = "MyMacroNameHere"

Set wkbk = Workbooks.Open(Filename:=myFileName, ReadOnly:=True)

Application.Run "'" & wkbk.Name & "'!" & MacName

wkbk.Close savechanges:=False

End Sub

Untested, but compiled.

And no error checking at all within the macro. You'll want to add some.



TG wrote:

I want to have a file running in the background for "Materials". In the
materials.xls file it would have the specific gravity for example.

Then in a new file called "quoting template", I could drop down a menu using
validation list or the lookup fuction t select the material.

When I use a macro, I close the file and open it, (security settings on
medium), it asks to enable macros. I hit yes. However in my quoting template
the drop down menu doesn't work until I actually run the macro for materials
list.

So if I had it running when I started Excel, I wouldn't have to use a macro
then?

I hope this helps explain what I am trying to do.

Thanks,
Tom

"Dave Peterson" wrote:

Via a macro???

You can turn application.screenupdating to false, but if you can't see the
screen, how would you use a dropdown.

I guess I don't understand the question...

TG wrote:

Is it possible to run a excel program as excel opens but run it in the
background so you can't see it?

I am trying to use the lookup command using another work book and also using
a dropdown menu in the cell.

Thanks-Tom


--

Dave Peterson
.


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Question Cathy Excel Worksheet Functions 1 December 27th 08 11:35 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
The question is an excel question that I need to figure out howto do in excel. Terry Excel Worksheet Functions 3 January 23rd 06 06:22 PM
Excel VBA Question thebside Excel Discussion (Misc queries) 1 July 16th 05 03:58 AM
Statistical Excel Function Question within Excel 2000... Drew H Excel Worksheet Functions 3 October 31st 04 06:55 PM


All times are GMT +1. The time now is 03:44 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"