Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi folks, I appreciate you being there to help. I am a novice so need lots of
help with this stuff. I have a workbook that I use to generate a new number each time it is opened. The number is used to index descrepencies on autos in a managed fleet. It looks like this in "thisworkbook" : Private Sub Workbook_Open() Columns("B:IV").Select Selection.EntireColumn.Hidden = True Range("A65536").End(xlUp).Offset(1, 0).Select Selection.Value = Selection.Offset(-1, 0).Value + 1 MsgBox "To copy this number hold the Ctrl and C keys together. The new number box buzzes. Don't close this page yet. Click on the waiver card tab at the bottom of the window to open it again. Hold down the Ctrl and V keys together, the new number will be entered in the new waiver block you had selected. Now you can go to bottom of the window and right click the New Number page and select close: NOTE:You have to close this before starting!" ThisWorkbook.Save End Sub The user: drivers, click a hyperlinked cell on a sheet designated for a vehicle, then copy and paste the new generated numberfrom the opened workbook into the target cell in a different workbook. Oh how I wish there was a way to have the active workbook target cell just enter the new number when it is clicked. No more cut and paste which confuses some of the users. Any takers on this one? thanks, larry |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Searching numbers in Worksheet? | Excel Worksheet Functions | |||
conditional formatting | Excel Worksheet Functions | |||
How to generate sets of random numbers without having duplicates | Excel Worksheet Functions | |||
Why are 1/2 my numbers imported as text and the rest as numbers? | Excel Discussion (Misc queries) | |||
Sorting when some numbers have a text suffix | Excel Discussion (Misc queries) |