Welcome to the { mindfrost82.com } forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-15-2008, 01:55 PM
Snoopy
 
Posts: n/a
3 simple(!?) problems: activate cell concequence / text formulas

Hey guys
I have some minor issues on my board:
1) Are there any way to delete the cell value in range A1 when
activating cell/range A2?
- wanted effect is when user activates cell A2 (by click) the value /
content inn cell A1 will be deleted.
2) When constructing coordinates as textstrings (X Y Z) by linking
values from range B1, B2 and B3 ( the text string will not appear whit
decimal format.


Reply With Quote
  #2 (permalink)  
Old 10-15-2008, 02:08 PM
Don Guillett
 
Posts: n/a
Re: 3 simple(!?) problems: activate cell concequence / text formulas

#1. Right click sheet tab>view code>insert this. DOUBLE click to fire
#2. More detail?

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
Boolean)
If Target.Address <> Range("b1").Address Then Exit Sub
Range("a1").ClearContents 'Delete
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com
"Snoopy" <blaksnm@jjuc.no> wrote in message
news:4b9593d7-b485-47b0-9c85-36000e4d96aa@40g2000prx.googlegroups.com...
> Hey guys
> I have some minor issues on my board:
> 1) Are there any way to delete the cell value in range A1 when
> activating cell/range A2?
> - wanted effect is when user activates cell A2 (by click) the value /
> content inn cell A1 will be deleted.
> 2) When constructing coordinates as textstrings (X Y Z) by linking
> values from range B1, B2 and B3 ( the text string will not appear whit
> decimal format.
>
>


Reply With Quote
  #3 (permalink)  
Old 10-15-2008, 02:28 PM
Snoopy
 
Posts: n/a
Re: 3 simple(!?) problems: activate cell concequence / text formulas

On 15 Okt, 15:08, "Don Guillett" <dguille...@austin.rr.com> wrote:
> #1. Right click sheet tab>view code>insert this. DOUBLE click to fire
> #2. More detail?
>
> Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
> Boolean)
> If Target.Address <> Range("b1").Address Then Exit Sub
> Range("a1").ClearContents 'Delete
> End Sub
>
> --
> Don Guillett
> Microsoft MVP Excel
> SalesAid Software
> dguille...@austin.rr.com"Snoopy" <blak...@jjuc.no> wrote in message
>
> news:4b9593d7-b485-47b0-9c85-36000e4d96aa@40g2000prx.googlegroups.com...
>
>
>
> > Hey guys
> > I have some minor issues on my board:
> > 1) Are there any way to delete the cell value in range A1 when
> > activating cell/range A2?
> > - wanted effect is when user activates cell A2 (by click) the value /
> > content inn cell A1 will be deleted.
> > 2) When constructing coordinates as textstrings (X Y Z) by linking
> > values from range B1, B2 and B3 ( the text string will not appear whit
> > decimal format.– Skjul sitert tekst –

>
> – Vis sitert tekst –


Thanks - that was a quick one! But I still dont get it right :(
Right click on sheet tab and paste the macro - right? What did you
meen by "double click to fire"?
Regards
Snoopy
Reply With Quote
  #4 (permalink)  
Old 10-15-2008, 02:51 PM
Don Guillett
 
Posts: n/a
Re: 3 simple(!?) problems: activate cell concequence / text formulas


Read the instructions again.
You said you wanted to click the cell. This requires a DOUBLE click in b1 to
clear a1
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com
"Snoopy" <blaksnm@jjuc.no> wrote in message
news:84c2e159-9bc7-441c-b345-a70d50180c6f@a19g2000pra.googlegroups.com...
On 15 Okt, 15:08, "Don Guillett" <dguille...@austin.rr.com> wrote:
> #1. Right click sheet tab>view code>insert this. DOUBLE click to fire
> #2. More detail?
>
> Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
> Boolean)
> If Target.Address <> Range("b1").Address Then Exit Sub
> Range("a1").ClearContents 'Delete
> End Sub
>
> --
> Don Guillett
> Microsoft MVP Excel
> SalesAid Software
> dguille...@austin.rr.com"Snoopy" <blak...@jjuc.no> wrote in message
>
> news:4b9593d7-b485-47b0-9c85-36000e4d96aa@40g2000prx.googlegroups.com...
>
>
>
> > Hey guys
> > I have some minor issues on my board:
> > 1) Are there any way to delete the cell value in range A1 when
> > activating cell/range A2?
> > - wanted effect is when user activates cell A2 (by click) the value /
> > content inn cell A1 will be deleted.
> > 2) When constructing coordinates as textstrings (X Y Z) by linking
> > values from range B1, B2 and B3 ( the text string will not appear whit
> > decimal format.– Skjul sitert tekst –

>
> – Vis sitert tekst –


Thanks - that was a quick one! But I still dont get it right :(
Right click on sheet tab and paste the macro - right? What did you
meen by "double click to fire"?
Regards
Snoopy

Reply With Quote
  #5 (permalink)  
Old 10-15-2008, 03:10 PM
Snoopy
 
Posts: n/a
Re: 3 simple(!?) problems: activate cell concequence / text formulas

On 15 Okt, 15:51, "Don Guillett" <dguille...@austin.rr.com> wrote:
> Read the instructions again.
> You said you wanted to click the cell. This requires a DOUBLE click in b1to
> clear a1
> --
> Don Guillett
> Microsoft MVP Excel
> SalesAid Software
> dguille...@austin.rr.com"Snoopy" <blak...@jjuc.no> wrote in message
>
> news:84c2e159-9bc7-441c-b345-a70d50180c6f@a19g2000pra.googlegroups.com...
> On 15 Okt, 15:08, "Don Guillett" <dguille...@austin.rr.com> wrote:
>
>
>
>
>
> > #1. Right click sheet tab>view code>insert this. DOUBLE click to fire
> > #2. More detail?

>
> > Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
> > Boolean)
> > If Target.Address <> Range("b1").Address Then Exit Sub
> > Range("a1").ClearContents 'Delete
> > End Sub

>
> > --
> > Don Guillett
> > Microsoft MVP Excel
> > SalesAid Software
> > dguille...@austin.rr.com"Snoopy" <blak...@jjuc.no> wrote in message

>
> >news:4b9593d7-b485-47b0-9c85-36000e4d96aa@40g2000prx.googlegroups.com...

>
> > > Hey guys
> > > I have some minor issues on my board:
> > > 1) Are there any way to delete the cell value in range A1 when
> > > activating cell/range A2?
> > > - wanted effect is when user activates cell A2 (by click) the value /
> > > content inn cell A1 will be deleted.
> > > 2) When constructing coordinates as textstrings (X Y Z) by linking
> > > values from range B1, B2 and B3 ( the text string will not appear whit
> > > decimal format.– Skjul sitert tekst –

>
> > – Vis sitert tekst –

>
> Thanks - that was a quick one! But I still dont get it right :(
> Right click on sheet tab and paste the macro - right? What did you
> meen by "double click to fire"?
> Regards
> Snoopy– Skjul sitert tekst –
>
> – Vis sitert tekst –


Thats nice! :) Thanks
Are the the same posibility to only activate by one click in this?
Regards Snoopy
Reply With Quote
  #6 (permalink)  
Old 10-15-2008, 03:23 PM
Don Guillett
 
Posts: n/a
Re: 3 simple(!?) problems: activate cell concequence / text formulas

Fries with that?

--
Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com
"Snoopy" <blaksnm@jjuc.no> wrote in message
news:3488edbd-33ac-4931-8899-8badf6b75d82@t39g2000prh.googlegroups.com...
On 15 Okt, 15:51, "Don Guillett" <dguille...@austin.rr.com> wrote:
> Read the instructions again.
> You said you wanted to click the cell. This requires a DOUBLE click in b1
> to
> clear a1
> --
> Don Guillett
> Microsoft MVP Excel
> SalesAid Software
> dguille...@austin.rr.com"Snoopy" <blak...@jjuc.no> wrote in message
>
> news:84c2e159-9bc7-441c-b345-a70d50180c6f@a19g2000pra.googlegroups.com...
> On 15 Okt, 15:08, "Don Guillett" <dguille...@austin.rr.com> wrote:
>
>
>
>
>
> > #1. Right click sheet tab>view code>insert this. DOUBLE click to fire
> > #2. More detail?

>
> > Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
> > Boolean)
> > If Target.Address <> Range("b1").Address Then Exit Sub
> > Range("a1").ClearContents 'Delete
> > End Sub

>
> > --
> > Don Guillett
> > Microsoft MVP Excel
> > SalesAid Software
> > dguille...@austin.rr.com"Snoopy" <blak...@jjuc.no> wrote in message

>
> >news:4b9593d7-b485-47b0-9c85-36000e4d96aa@40g2000prx.googlegroups.com...

>
> > > Hey guys
> > > I have some minor issues on my board:
> > > 1) Are there any way to delete the cell value in range A1 when
> > > activating cell/range A2?
> > > - wanted effect is when user activates cell A2 (by click) the value /
> > > content inn cell A1 will be deleted.
> > > 2) When constructing coordinates as textstrings (X Y Z) by linking
> > > values from range B1, B2 and B3 ( the text string will not appear whit
> > > decimal format.– Skjul sitert tekst –

>
> > – Vis sitert tekst –

>
> Thanks - that was a quick one! But I still dont get it right :(
> Right click on sheet tab and paste the macro - right? What did you
> meen by "double click to fire"?
> Regards
> Snoopy– Skjul sitert tekst –
>
> – Vis sitert tekst –


Thats nice! :) Thanks
Are the the same posibility to only activate by one click in this?
Regards Snoopy

Reply With Quote
  #7 (permalink)  
Old 10-15-2008, 03:50 PM
Gord Dibben
 
Posts: n/a
Re: 3 simple(!?) problems: activate cell concequence / text formulas

You want to clear A1 when you select A2?

Adjust Don's code to this.

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Address <> Range("A2").Address Then Exit Sub
Range("A1").ClearContents
End Sub


Gord Dibben MS Excel MVP

On Wed, 15 Oct 2008 07:10:24 -0700 (PDT), Snoopy <blaksnm@jjuc.no> wrote:

>Thats nice! :) Thanks
>Are the the same posibility to only activate by one click in this?
>Regards Snoopy


Reply With Quote
  #8 (permalink)  
Old 10-15-2008, 05:49 PM
=?Utf-8?B?R2FyeScncyBTdHVkZW50?=
 
Posts: n/a
Re: 3 simple(!?) problems: activate cell concequence / text formul

Don's double-click code is better than single-click.

The problem with single-click code is that would also be activated by
getting to A2 with the cursor keys.
--
Gary''s Student - gsnu2007k


"Snoopy" wrote:

> On 15 Okt, 15:51, "Don Guillett" <dguille...@austin.rr.com> wrote:
> > Read the instructions again.
> > You said you wanted to click the cell. This requires a DOUBLE click in b1 to
> > clear a1
> > --
> > Don Guillett
> > Microsoft MVP Excel
> > SalesAid Software
> > dguille...@austin.rr.com"Snoopy" <blak...@jjuc.no> wrote in message
> >
> > news:84c2e159-9bc7-441c-b345-a70d50180c6f@a19g2000pra.googlegroups.com...
> > On 15 Okt, 15:08, "Don Guillett" <dguille...@austin.rr.com> wrote:
> >
> >
> >
> >
> >
> > > #1. Right click sheet tab>view code>insert this. DOUBLE click to fire
> > > #2. More detail?

> >
> > > Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
> > > Boolean)
> > > If Target.Address <> Range("b1").Address Then Exit Sub
> > > Range("a1").ClearContents 'Delete
> > > End Sub

> >
> > > --
> > > Don Guillett
> > > Microsoft MVP Excel
> > > SalesAid Software
> > > dguille...@austin.rr.com"Snoopy" <blak...@jjuc.no> wrote in message

> >
> > >news:4b9593d7-b485-47b0-9c85-36000e4d96aa@40g2000prx.googlegroups.com...

> >
> > > > Hey guys
> > > > I have some minor issues on my board:
> > > > 1) Are there any way to delete the cell value in range A1 when
> > > > activating cell/range A2?
> > > > - wanted effect is when user activates cell A2 (by click) the value /
> > > > content inn cell A1 will be deleted.
> > > > 2) When constructing coordinates as textstrings (X Y Z) by linking
> > > > values from range B1, B2 and B3 ( the text string will not appear whit
> > > > decimal format.– Skjul sitert tekst –

> >
> > > – Vis sitert tekst –

> >
> > Thanks - that was a quick one! But I still dont get it right :(
> > Right click on sheet tab and paste the macro - right? What did you
> > meen by "double click to fire"?
> > Regards
> > Snoopy– Skjul sitert tekst –
> >
> > – Vis sitert tekst –

>
> Thats nice! :) Thanks
> Are the the same posibility to only activate by one click in this?
> Regards Snoopy
>

Reply With Quote
  #9 (permalink)  
Old 10-16-2008, 12:13 AM
Gord Dibben
 
Posts: n/a
Re: 3 simple(!?) problems: activate cell concequence / text formul

Very true.

Thanks, Gord

On Wed, 15 Oct 2008 09:49:01 -0700, Gary''s Student
<GarysStudent@discussions.microsoft.com> wrote:

>Don's double-click code is better than single-click.
>
>The problem with single-click code is that would also be activated by
>getting to A2 with the cursor keys.


Reply With Quote
  #10 (permalink)  
Old 10-16-2008, 11:07 AM
Snoopy
 
Posts: n/a
Re: 3 simple(!?) problems: activate cell concequence / text formul

On 16 Okt, 01:13, Gord Dibben <gorddibbATshawDOTca> wrote:
> Very true.
>
> Thanks, * Gord
>
> On Wed, 15 Oct 2008 09:49:01 -0700, Gary''s Student
>
>
>
> <GarysStud...@discussions.microsoft.com> wrote:
> >Don's double-click code is better than single-click.

>
> >The problem with single-click code is that would also be activated by
> >getting to A2 with the cursor keys.– Skjul sitert tekst –

>
> – Vis sitert tekst –


Thanks everyone. This was really usefull advice :)
Have a nice day
Regards
Snoopy
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:58 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Stornoway Hotel | Quick Collect | Loan | Loans | Freelance



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114