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: 238
Default Copy cell data and assigning to variables

Excel 97 macro. I need to read cells on a worksheet and use that as an
address to paste data to. It sounds easy and probably is. But
everything I try is not working.

A B C
1 SheetNo RowNo ColumNo
2 sheet2 1134 3
3 sheet3 2278 3
4 sheet4 3389 3

on sheet1 read A2
read B2
read C2

It should copy cells A1:D100 of sheet2 and paste the date to sheet1
column 3
row 1134

copy cells A1:D100 of sheet3 and paste the date to sheet2
column 3
row 2278
etc.

I can copy cells, paste cells, change worksheets, and change
workbooks. Mostly thanks to help from these forums. I can't read three
cells and assign data to three variables (SheetNo, RowNo, ColumNo) and
make it work. Sigh.

 
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
Assigning cell values to variables Tim Excel Discussion (Misc queries) 3 June 11th 09 04:30 PM
Assigning Cell data to VB Variables [email protected] Excel Programming 3 March 29th 07 04:53 AM
MS Office Excel 2003 assigning cell values to variables [email protected] Excel Programming 1 March 28th 07 05:32 PM
Assigning multiple text strings to variables buggy Excel Programming 0 January 5th 06 08:49 PM
Assigning cell address components to variables Conan Kelly Excel Programming 1 June 15th 05 06:05 AM


All times are GMT +1. The time now is 09:18 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"