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

Typically I would just run through the help menu for this, but our VBA
program at work doesn't have it, so hopefully this is a simple enough
question:

Is there a way to set a variable as the name of the currently open
workbook/file?

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

Brilliantly easy, i just didn't have the know-how. Thanks much for the
help.

Andrew Taylor wrote:
Dim wb As Workbook
Set wb = ActiveWorkbook


wrote:
Typically I would just run through the help menu for this, but our VBA
program at work doesn't have it, so hopefully this is a simple enough
question:

Is there a way to set a variable as the name of the currently open
workbook/file?


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
Can a workbook variable be set by clicking the workbook? Kobayashi[_47_] Excel Programming 0 October 29th 04 10:23 AM
Can a workbook variable be set by clicking the workbook? Kobayashi[_44_] Excel Programming 2 October 28th 04 10:15 PM
Can a workbook variable be set by clicking the workbook? Kobayashi[_46_] Excel Programming 0 October 28th 04 08:55 PM
Can a workbook variable be set by clicking the workbook? Kobayashi[_45_] Excel Programming 1 October 28th 04 08:11 PM
Can a workbook variable be set by clicking the workbook? Kobayashi[_43_] Excel Programming 2 October 28th 04 06:20 PM


All times are GMT +1. The time now is 02:38 PM.

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"