LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default Adding ws information to cell in new wb & saving with ws name

You forgot the "dots" in front of the Range calls (for Column C) in your
"To" section (so they reference back to your With statemen)....

..Range("C79") = sht.Range("A1")
..Range("C80") = sht.Range("A2")
..Range("C81") = sht.Range("A3")
..Range("C88") = sht.Range("A4")
..Range("C89") = sht.Range("A5")
..Range("C91") = sht.Range("A6")
..Range("C95") = sht.Range("A7")

--
Rick (MVP - Excel)



"joel" wrote in message
...

I moved the data in the wrong direction

from
sht.Range("A1") = .Range("C79")
sht.Range("A2") = .Range("C80")
sht.Range("A3") = .Range("C81")
sht.Range("A4") = .Range("C88")
sht.Range("A5") = .Range("C89")
sht.Range("A6") = .Range("C91")
sht.Range("A7") = .Range("C95")

to
Range("C79") = sht.Range("A1")
Range("C80") = sht.Range("A2")
Range("C81") = sht.Range("A3")
Range("C88") = sht.Range("A4")
Range("C89") = sht.Range("A5")
Range("C91") = sht.Range("A6")
Range("C95") = sht.Range("A7")


--
joel
------------------------------------------------------------------------
joel's Profile: http://www.thecodecage.com/forumz/member.php?u=229
View this thread:
http://www.thecodecage.com/forumz/sh...d.php?t=195354

http://www.thecodecage.com/forumz



 
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
Saving information to PERSONAL.XLS Dee Sperling[_2_] Excel Programming 1 April 7th 10 03:08 PM
COPYING AND SAVING THE INFORMATION YESHWANT JOSHI[_2_] Excel Discussion (Misc queries) 5 July 22nd 09 03:07 PM
Saving information between uses? (Userform) PaulW Excel Programming 1 March 30th 07 02:31 PM
adding cell data into a macro to allow specified information filte mattguerilla Excel Programming 3 May 24th 05 09:40 PM
Saving Information on Userforms Bob Phillips[_6_] Excel Programming 3 May 7th 04 12:38 AM


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