Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 8th, 2006, 10:15 AM
Authorized User
 
Join Date: Mar 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Code not recognizing file type? Addin missing?

My code started like this and would not run:

Workbooks("Staffing Model").Worksheets("Data").Range("f1") = lastupdated + 1

However when I added the extension it worked like so:

Workbooks("Staffing Model.xls").Worksheets("Data").Range("f1") = lastupdated + 1

I dont remember having to have the extension in my previous code. Did I maybe turn something off?






Similar Threads
Thread Thread Starter Forum Replies Last Post
<input type="File"> - Specify File Type and Path gp_mk Classic ASP Basics 2 August 2nd, 2004 03:07 AM
Missing code gear All Other Wrox Books 1 February 12th, 2004 11:46 AM
Recognizing an enter stroke PanzarPaw Classic ASP Basics 3 November 15th, 2003 08:39 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.