Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Can you click on a hyperlink containing an argument, that calls a macro with
the argument. I need to pass a string or Argument to the Macro with a Hyperlink example in spreadsheet you have A 1 Hyperlink 2 Supplier would run Macro ABC("A2") or ABC("Supplier") -- Jeff -- Jeff |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You have an answer in your original post (23 minutes earlier) .
-- Jim Cone San Francisco, USA http://www.realezsites.com/bus/primitivesoftware "Jeff" wrote in message Can you click on a hyperlink containing an argument, that calls a macro with the argument. I need to pass a string or Argument to the Macro with a Hyperlink example in spreadsheet you have A 1 Hyperlink 2 Supplier would run Macro ABC("A2") or ABC("Supplier") -- Jeff -- Jeff |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thank You for the Help :-)
I've had trouble being able to post a message at times. Sorry for duplicates Please Help... this is basic stuff but can't seem to figure it out. How do you hide a command button in vba??? these don't work... Worksheets("Service Information").Range("B13").Hide = False Worksheets("Service Information").Range(Cells("B13")).Hide = False Worksheets("Service Information").Range("B13:B13").Visible = False |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I figured it out. :-)
Dim SH As Worksheet Set SH = ThisWorkbook.Sheets("Sheet1") If Range("A1").Value2 = "" Then With SH.OLEObjects("CommandButton1") .Visible = False .Enabled = False End With Else With SH.OLEObjects("CommandButton1") .Visible = True .Enabled = True End With -- Jeff "Jeff" wrote: Thank You for the Help :-) I've had trouble being able to post a message at times. Sorry for duplicates Please Help... this is basic stuff but can't seem to figure it out. How do you hide a command button in vba??? these don't work... Worksheets("Service Information").Range("B13").Hide = False Worksheets("Service Information").Range(Cells("B13")).Hide = False Worksheets("Service Information").Range("B13:B13").Visible = False . . Jeff :-) -- Jeff "Jim Cone" wrote: You have an answer in your original post (23 minutes earlier) . -- Jim Cone San Francisco, USA http://www.realezsites.com/bus/primitivesoftware "Jeff" wrote in message Can you click on a hyperlink containing an argument, that calls a macro with the argument. I need to pass a string or Argument to the Macro with a Hyperlink example in spreadsheet you have A 1 Hyperlink 2 Supplier would run Macro ABC("A2") or ABC("Supplier") -- Jeff -- Jeff |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Passing a Control as an Argument | Excel Programming | |||
Passing a UDF as an argument to a UDF | Excel Discussion (Misc queries) | |||
VB macro - Nested Calls ( Parameter Passing ) | Excel Programming | |||
passing argument problem ?? | Excel Programming | |||
Passing argument to another Sub | Excel Programming |