Hi
Excel 2000
Three small questions as to these small codes not working.
Want to make a new sheet and list all sheets with hyperlink to each sheet.
Code curteosy of member of this group. (slips my mind at the moment apologies)
Sub MakeHyperlinkIndex()
Dim ndx As Worksheet, X As Integer
Set ndx = Sheets.Add(before:=Sheets(1))
ndx.Name = "Index"
ndx.Cells(1) = "Worksheets"
For X = 2 To Worksheets.Count
ndx.Hyperlinks.Add
Anchor:=ndx.Cells(X, 1), Address:=""_
SubAddress:="'" &
Worksheets(X).Name & "'!A1",_
TextToDisplay:=Worksheets(X).Name
Next X
End Sub
Gets to the ndx.HyperLinks.Add
**********
With this I am trying to hide the exit cross button. Not sure if I have
the 'select' correct.
Private Sub UserForm_Initialize()
Dim UserForm As Integer
Dim HideCloseButton As Integer
UserForm("RegArea").Select
HideCloseButton Me
End With
End Sub
****************
This is working ok with the vba but the date that shows in the formatted date
column is
00Jan00!. The clock in Windows 7 shows correct time. Is there anything in XL
that I need to check?
Private Sub Worksheet_Change(ByVal Target As
Range)
If Target.Column = 3 And Target.Offset(0,
-1).Value = "" Then
Target.Offset(0, -1) = Format(Now(),
"DD:MM:YY")
End If
End Sub
*************
Thankyou
Charles Harris
--
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
https://www.facebook.com/discussexcel
FORUM RULES
1) Use concise, accurate thread titles. Poor thread titles, like Please Help,
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
NOTE : Don't ever post confidential data in a workbook. Forum owners and
members are not responsible for any loss.
---
You received this message because you are subscribed to the Google Groups "MS
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.