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 June 24th, 2013, 11:40 AM
Registered User
 
Join Date: Apr 2011
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Office 2010 Home and Student VB Sub

Suddendly having a problem with writing a sub
The Sub does not appear on the VB worksheet
steps
1. Developer tool bar turned on
2. Design Mode
3.Insert Active X Controls Command button
4. Place command button on worksheet
5. Properties take focus--false
6. View code
In the past I get a sub with the name that is in the Command Button
However now the VBA code page appears with the cursor at the top of page but no sub identified.
Expect
Sub (Name in command button)
End sub
If there are other subs on that page it would appear at bottom of those
Now the curser appears at top of page no matter what is there.
I've reloaded Office 2010
Can't think of a step that I have missed --have written numereous subs in past with above process
Thanks for your help

Last edited by macdunc; June 30th, 2013 at 06:19 PM.. Reason: Add to it





Similar Threads
Thread Thread Starter Forum Replies Last Post
New to VB 2010 - I need help with OLEDB toconce Visual Basic 2010 General Discussion 10 May 25th, 2015 03:10 AM
Populating data from MS Access 2010 to VB.net 2010 treeview nodes jayqdomingo .NET 4 and Visual Studio 2010 General Discussions 0 March 19th, 2013 12:12 PM
Can't find Publish Options Button in Office 2010 AJ1969 BOOK: Professional Microsoft PowerPivot for Excel and SharePoint 0 May 17th, 2011 08:27 PM
Datagrid use in office 2010 ACCESS RupertCBanks BOOK: Expert Access 2007 Programming ISBN 978-0-470-17402-9 0 December 14th, 2010 04:00 PM
Is vb supports office xp access mdb's? phpsharma Pro VB 6 3 February 16th, 2004 10:18 AM





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