Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 65
Default Best way to load an existing spreadsheet?

Can anyone describe ALL the various functions or methods for loading a spreadsheet using VBA code?

I think there's a Workbook.open() command. But what about using something like: Shell("excel.exe file.xlsm", vbNormalFocus")???

Are there any other methods? Is any method better than the other(s)?

-Robert
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,182
Default Best way to load an existing spreadsheet?

Can anyone describe ALL the various functions or methods for loading a
spreadsheet using VBA code?

I think there's a Workbook.open() command. But what about using something
like: Shell("excel.exe file.xlsm", vbNormalFocus")???

Are there any other methods? Is any method better than the other(s)?

-Robert


Workbooks.Open() is the best way to load a file into your running instance of
Excel because it exposes options to you for doing so.

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion
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
Load custom buttons in a Spreadsheet Garrystone Setting up and Configuration of Excel 3 October 4th 08 03:46 PM
download existing spreadsheets into another existing spreadsheet lbierer Excel Discussion (Misc queries) 2 September 24th 06 08:36 PM
Copy from one Spreadsheet to existing spreadsheet viewmaster[_9_] Excel Programming 0 March 30th 06 04:28 AM
Time to load spreadsheet Scudo New Users to Excel 4 January 8th 06 05:51 PM
what causes excel to take so long to load a spreadsheet junior Excel Discussion (Misc queries) 1 August 18th 05 07:44 PM


All times are GMT +1. The time now is 08:58 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"