Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 155
Default VB for Applications

Hi,
What I want is to be able to select a cell and the number in that cell
inserted into another cell on a different sheet in the same workbook and then
jump to that worksheet. I could use a commandbutton on the row that I want
the number from, but the trouble starts when I use autofilter to select a
selection of the data, the buttons remain where they are and therefore
reference the worng data cell.

All help apreciated.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default VB for Applications

hi
command buttons (and all other controls) "float" on top of the sheet. they
cannot be attatch to or put in rows, columns or cells. that is why they stay
where they are when you autofilter.
you will have to come up with a different approach.
perhaps put the button in the upper left corner of the sheet (a1) and freeze
panes on row 1. then recode so that you click on the cell you want copied
then click the button and have the contents of the activecell inserted into
another cell on a different sheet.
there are different ways to do it. this is just one.

regards
FSt1

"Graham" wrote:

Hi,
What I want is to be able to select a cell and the number in that cell
inserted into another cell on a different sheet in the same workbook and then
jump to that worksheet. I could use a commandbutton on the row that I want
the number from, but the trouble starts when I use autofilter to select a
selection of the data, the buttons remain where they are and therefore
reference the worng data cell.

All help apreciated.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 155
Default VB for Applications

Hi Thanks for that.
Do you have ant idea of the code to copy the data in the active cell and
insert it into the other sheet?

Graham

"FSt1" wrote:

hi
command buttons (and all other controls) "float" on top of the sheet. they
cannot be attatch to or put in rows, columns or cells. that is why they stay
where they are when you autofilter.
you will have to come up with a different approach.
perhaps put the button in the upper left corner of the sheet (a1) and freeze
panes on row 1. then recode so that you click on the cell you want copied
then click the button and have the contents of the activecell inserted into
another cell on a different sheet.
there are different ways to do it. this is just one.

regards
FSt1

"Graham" wrote:

Hi,
What I want is to be able to select a cell and the number in that cell
inserted into another cell on a different sheet in the same workbook and then
jump to that worksheet. I could use a commandbutton on the row that I want
the number from, but the trouble starts when I use autofilter to select a
selection of the data, the buttons remain where they are and therefore
reference the worng data cell.

All help apreciated.

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
Taskbar and applications Geoff Excel Programming 20 June 25th 07 01:05 AM
sql vba applications AD108 Excel Programming 1 August 17th 06 07:28 AM
Security Across Applications dok112[_83_] Excel Programming 0 February 16th 06 10:01 PM
Ignore other applications swiederkehr Excel Programming 1 July 21st 05 02:42 PM
Other applications Patrick Molloy[_4_] Excel Programming 2 July 23rd 03 12:08 AM


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