pcc
Well-known Member
- Joined
- Jan 21, 2003
- Messages
- 1,382
- Office Version
- 2021
- Platform
- Windows
Hi all. I have written a workbook that allows me to display chords for the ukulele (I am left-handed and I cannot find a left-handed version on the internet anywhere.)
In order to do this, I have created a drawing object by grouping together various lines and rectangles, to mimic the fretboard of the ukulele.
I then choose which chord I want (eg C major), and code runs to work out where to put fingers against which frets, (after first deleting the previous chord), and then adds markers on the fretboard to display the chord. The code that runs simply looks at data (on the same sheet as the drawing object), to determine fret positions etc.
This works fine, but every time I choose another chord, the drawing object redraws itself, and this slows the whole process. Screen updating is turned off, and there is no switching between worksheets as the drawing object and the data are all on the same sheet.
Can anyone offer a solution to prevent the drawing object redrawing very time?
Regards
In order to do this, I have created a drawing object by grouping together various lines and rectangles, to mimic the fretboard of the ukulele.
I then choose which chord I want (eg C major), and code runs to work out where to put fingers against which frets, (after first deleting the previous chord), and then adds markers on the fretboard to display the chord. The code that runs simply looks at data (on the same sheet as the drawing object), to determine fret positions etc.
This works fine, but every time I choose another chord, the drawing object redraws itself, and this slows the whole process. Screen updating is turned off, and there is no switching between worksheets as the drawing object and the data are all on the same sheet.
Can anyone offer a solution to prevent the drawing object redrawing very time?
Regards