Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Toggle Hide/Show

Hi Alan,

Here you go

Columns("C:G").Hidden = Not Columns("C:G").Hidden

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Alan" wrote in message
...
Greetings,
I would like button that the first time its clicked, will hide columns C:G

and when clicked the next time will show the same columns. I can write the
code to separately hide or show but I dont know how to combine them to
toggle when the button is clicked.
All help is greatly appreciated!
Alan



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
Toggle show / hide group outline symbols with shortcut Ted M H Excel Discussion (Misc queries) 7 April 23rd 23 07:44 PM
Hide data series in chart - toggle on and off stef Charts and Charting in Excel 3 April 23rd 23 09:01 AM
How DO I get the bold face toggle to show Bruce Plizak e-mail [email protected] New Users to Excel 1 May 28th 10 01:08 AM
show hide row if Wanna Learn Excel Discussion (Misc queries) 2 May 15th 09 06:08 PM
using a toggle button to show or hide information in several cells hanson Excel Worksheet Functions 3 December 7th 07 10:16 PM


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