Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 430
Default Macro not performing

Thanks for the help;
I hope I never forget that one,,,
Jim

"Rowan" wrote in message
...
Add the show command

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
Boolean)
If Target.Column = 1 Then
Load frmPOReq
With frmPOReq
.TxtSeqNo.Value = Target.Value
.txtDate.Value = Target.Offset(0, 1).Value
.txtEmpCode.Value = Target.Offset(0, 2).Value
.txtAmt.Value = Target.Offset(0, 3).Value
.txtDueDate.Value = Target.Offset(0, 4).Value
.txtBudCat.Value = Target.Offset(0, 5).Value
.txtAcct.Value = Target.Offset(0, 6).Value
.show
End With
End If
Cancel = True
End Sub

Hope this helps
Rowan

Jim May wrote:
When I double-click on a value in a cell in Column A of my sheet -
Nothing happens ?? From the Code below is it
Obvious what my problem is?
Thanks in Advance...

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
Boolean)
If Target.Column = 1 Then
Load frmPOReq
With frmPOReq
.TxtSeqNo.Value = Target.Value
.txtDate.Value = Target.Offset(0, 1).Value
.txtEmpCode.Value = Target.Offset(0, 2).Value
.txtAmt.Value = Target.Offset(0, 3).Value
.txtDueDate.Value = Target.Offset(0, 4).Value
.txtBudCat.Value = Target.Offset(0, 5).Value
.txtAcct.Value = Target.Offset(0, 6).Value
End With
End If
Cancel = True
End Sub



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
Locating the max value AND performing a fn on it only Pradhan Excel Discussion (Misc queries) 3 July 22nd 09 01:09 AM
Macro fails when not performing "step into" shrek[_3_] Excel Programming 0 August 8th 05 05:28 PM
auto_open macro not performing as expected Eric Winegarner Excel Programming 1 April 19th 05 11:00 PM
performing least squares Darius Blaszijk Excel Programming 5 March 19th 05 07:25 PM
Auto Open macro not performing as expected Dave Peterson[_3_] Excel Programming 2 July 23rd 04 08:39 PM


All times are GMT +1. The time now is 04:16 AM.

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"