LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Programming for a save button

Good morning all.

I am just not very with it this morning and am having trouble with
save button on an Excel sheet. The button lives on a sheet name
"Report". The code I've been testing (that works like a charm so far
lives in ThisWorkbook (under General). The trouble seems to come whe
I copy the code from ThisWorkbook to the Report , which is where th
btnSave_Click appears when I right click on it to program it. It give
me a run-time error '1004': Select method of Range class failed when
try to run the newly copied code (F5).

The "Save" button was created with the Controls Toolbox, Command Butto
(if it matters) and I am running MSOffice with Windows 2000 (in cas
that makes a difference as well).

What I would like to be able to do is call the working code from wher
it is with the button on the Report page.

I'm sure this will be easy for most of you, and I greatly appreciat
any help offered. :)

Thank you in advance,
Cande

--
Message posted from http://www.ExcelForum.com

 
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
Counting, command button and programming in VB ElFrodo Excel Discussion (Misc queries) 5 February 23rd 07 05:24 AM
Programming a "Save as..." command button within Excel DavidHawes Excel Discussion (Misc queries) 2 November 13th 06 02:48 PM
how to get disk icon on save button of save as dialog like 2000 RichT Excel Discussion (Misc queries) 2 March 9th 06 08:13 PM
Control or VBA programming a button brianv Excel Programming 5 December 12th 03 02:26 PM
Programming behind a button DRE Excel Programming 2 July 18th 03 03:40 PM


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