Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copy on "GO"


Hi all,

Have a prob. The following code works ok BUT, i would like 2
additions.

1. After the user clicks GO, i would also like column C values fro
PRICING to copy to column H on INCLUSIONS.

2. When the user form shows, the pricing sheet cannot be hidden....ho
do i have a user form show on opening whilst keeping the shee
hidden??

Cheers in advance!!!!


Private Sub cmdGo_Click()

Application.Goto Reference:="CONFIG"
Set b = Selection
For Each cell In b
mstrX = lblConfig.Caption
mstrCol = cell.Address
If mstrCol < mstrX Then
a = cell.Address
Range(a).EntireColumn.ClearContents
End If
Next


Application.Goto Reference:="number"
Set x = Selection
For Each cell In x
mstrX = cboRows.Text
mstrRow = CStr(cell.Value)
If mstrRow = mstrX Then
Else
a = cell.Address

Range(a).EntireRow.ClearContents
End If
Next
x.Select

End Su

--
gavme
-----------------------------------------------------------------------
gavmer's Profile: http://www.excelforum.com/member.php...nfo&userid=666
View this thread: http://www.excelforum.com/showthread.php?threadid=27440

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
Selecting "Save As" adds "Copy of" to file name- MS Excel 2007 ronhansen Excel Discussion (Misc queries) 1 November 15th 09 09:33 PM
Shortcut to switch from "fill down" to "copy" with mouse drag RJ Dake Excel Discussion (Misc queries) 3 August 13th 09 05:35 PM
Excel "Move or Copy" and "Delete" sheet functions dsiama Excel Worksheet Functions 1 December 28th 07 01:57 PM
problem with Linking workbooks via "copy" and "paste link" Arkitek Excel Discussion (Misc queries) 0 December 19th 06 10:03 PM
Can you "duplicate" "copy" listboxes and code to multiple cells? HotRod Excel Programming 1 September 1st 04 05:03 PM


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