Hi,
I have a table of data, which will often change in length. I have defined the first row of and last row of data as:
firstrow
lastrow
Is there a way to select these two rows as well as everything in between?
Thanks
Hi,
I have a table of data, which will often change in length. I have defined the first row of and last row of data as:
firstrow
lastrow
Is there a way to select these two rows as well as everything in between?
Thanks
Last edited by uncleslinky; 06-30-2011 at 05:14 AM.
Why do you need to select them? Typically there is a vba command that can reference those cells easily then execute the property adjustments you'd like.
I need to paste special values, however I do not want to select the entire worksheet. I only want to paste special values within that range.
If those two are actually named ranges:
or if you are pasting from elsewhere:![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
Everyone who confuses correlation and causation ends up dead.
Hi guys,
Apologies for the confusion. I meant to say I declared lastrow and firstrow as variables (not named ranges. Is my request still possible?
I'm quite new to VBA so again apologies for any confusion
How are they declared and what values do they have?
firstrow is always row 4
lastrow will be set my a user input box
![]()
Please Login or Register to view this content.
Is the number of columns fixed? If so, which ones are they?
Yes, columns A:AT
![]()
Please Login or Register to view this content.
Thanks :-D
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks