Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Create Workbook

Dumb question, but I forgot how to programmincally create
a workbook and I can't find it in Help, so...help! =;O)
Trent
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Create Workbook

Trent,

It's pretty simple

workbooks.Add

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Trent Argante" wrote in message
...
Dumb question, but I forgot how to programmincally create
a workbook and I can't find it in Help, so...help! =;O)
Trent



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Create Workbook

Thanks, Bob.

I was ASSuMEing that the workbook had to exist prior to .ADDing it to
the collection, so I didn't even bpther trying it...uh, hello, McFly?

Trent Argante

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Create Workbook

Trent,

Use the Add method of the Workbooks collection. E.g.,

Dim WB As Workbook
Set WB = Workbooks.Add()


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Trent Argante" wrote in message
...
Dumb question, but I forgot how to programmincally create
a workbook and I can't find it in Help, so...help! =;O)
Trent



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
Create workbook JereNet Excel Discussion (Misc queries) 1 March 21st 08 02:20 AM
Create New Workbook from Worksheets in One Workbook Dave Excel Discussion (Misc queries) 4 June 17th 07 10:27 PM
Taking specific rows from on workbook to create another workbook Michelle Excel Worksheet Functions 1 May 12th 07 04:54 AM
Create and open a workbook in VB.net ? Kjeldc Excel Discussion (Misc queries) 2 December 3rd 05 02:17 PM
Create new workbook Kevin G[_2_] Excel Programming 1 February 5th 04 05:44 AM


All times are GMT +1. The time now is 12:37 PM.

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

About Us

"It's about Microsoft Excel"