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 Macro to Cut/PasteSpecial/FileSave


Sorry, but I'm not into programming language, but I can do a simpl
Macro Record and even attach it to a button.

I have a simple worksheet template for reservations at our B&B. As soo
as I enter the last name of the guest, a FormatConditioned sell display
to remind me to save the file, as NAME-YYYYMMDD (name and arrival date)

I can put a forumla into one cell that displays that intended fil
name; I can copy it and paste-special-value into another cell. I ca
copy that cell and hit SAVE and Ctl-V that as the name of the file, an
save it.

I can do all that manually, but when I try it as a macro, it tries t
save the file as the name of the LAST guest it did that to. If I'
saving JONES-20070106 it asks if I want to replace SMITH-20061221.

When I look at the debug code (god forbid - it's like opening the hoo
of my car!) I see SMITH-20061221 imbedded in the macro!

What am I missing?

Thanks for any help!

Jim / Sleepless in Toront

--
tdba
-----------------------------------------------------------------------
tdbab's Profile: http://www.excelforum.com/member.php...fo&userid=3693
View this thread: http://www.excelforum.com/showthread.php?threadid=56650

 
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
Help with PasteSpecial [email protected] Excel Programming 2 June 9th 06 11:35 AM
PasteSpecial xlPasteFormats ends macro itarnak Excel Programming 4 October 12th 05 02:44 PM
Range Name Duplication and PasteSpecial Macro Mike Wrob Excel Programming 3 January 10th 05 04:32 PM
PasteSpecial KL[_3_] Excel Programming 1 July 8th 04 02:07 PM
PasteSpecial macro CG Rosén Excel Programming 3 December 22nd 03 01:14 AM


All times are GMT +1. The time now is 01:02 AM.

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"