Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default xldown and xlright

Hello...I have a tranmittal on a worksheet tab
named "transmittal" and I need to log the drawings sent or
listed to a "Transmittal Log" worksheet tab every time we
fill out a new transmittal.
the range of info I need is in Cells D23:G36 (4 columns
wide) on the "Transmittal" worksheet. Sometimes only rows
23,24 may be filled in, other times 23,24,25,26 may be
filled in and so on. I used range ("D23, Range D23
(xldown).Address).end to have the cursor start in D23 and
go down till it hits a blank row but im not sure how to
tell VBA to hilite it across to column G. Column D is
labeled "Quantity", E is labeled "Dwg. No.", F is
labeled "Drawing Description", and F is labeled "Dated".
Once the appropiate cells are hilited it will be copied to
the Transmittal Log worksheet tab on the next available
row down. I forget how to tell VBA how to go to Column A
on the transmittal log worksheet and xldown to it hits the
next blank row in column A.
the next time someone uses this transmittal for different
drawings it will then have to be logged also to the log
sheet on the next blank row down.
your help will be appreciated.
God Bless

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default xldown and xlright

Instead of using ("D23, Range D23
(xldown).Address).end

Why not try

Range("d23").CurrentRegion.Cop

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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default xldown and xlright

The currentRegion will change from transmittal to
transmittal depending on the amount of rows one uses to
list their drawings being sent out. the people using this
will click on a macro button labeled "LOGIT" and have VBA
do all the rest after they fill out their transmittal.
Most using this do not know VBA and little know Excel.
-----Original Message-----
Instead of using ("D23, Range D23
(xldown).Address).end

Why not try

Range("d23").CurrentRegion.Copy


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

.

Reply
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
Use xldown to select a range of cells merry_fay Excel Discussion (Misc queries) 3 May 26th 09 05:54 PM
End(xlDown) not working? RAHokie Excel Discussion (Misc queries) 2 January 19th 07 12:40 AM
(xlDown) not working properly! aapp81[_25_] Excel Programming 7 December 10th 03 08:28 AM
(xlDown) not working properly! aapp81[_26_] Excel Programming 0 December 8th 03 08:43 PM
Selection.End(xlDown) with Rows selected Tokash Excel Programming 1 August 19th 03 03:52 PM


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